"0 faileCount from FAILED_CARD left join task on FAILED_CARD.task_id= task.TASK_ID\n"+
"0 faileCount,prod_card_t.id_no,prod_card_t.name from FAILED_CARD left join task on FAILED_CARD.task_id= task.TASK_ID\n"+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n"+
"left join prod_card_t@PRODYD_LINK on FAILED_CARD.ACCEPT_NO =prod_card_t.ACCEPT_NO "+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE\n"+
"where FAILED_CARD.state =#{process2} and FAILED_CARD.work_group = #{workGroup} and FAILED_CARD.state != FAILED_CARD.INITIATOR order by FAILED_CARD.ACCEPT_NO")