Commit 18fbaf7a authored by liuxinben's avatar liuxinben

未生成的任务单查询时候的邮寄证的逻辑判断

parent 98a56694
......@@ -25,7 +25,7 @@ public interface TaskListMapper {
@Select("select DISTINCT CARD_TYPE_DIC.*, ACC_GROUP_T.* ,'000000' COUNTY_CODE,'0000' COUNTYNAME from ACCYD_DBA.ACC_CARD_T@ACCUYD_LINK \n" +
"left join ACCYD_DBA.ACC_GROUP_T@ACCUYD_LINK on substr(acc_card_t.accept_no,0,8) = ACC_GROUP_T.group_no\n" +
"left join ACCYD_DBA.ACC_GROUP_RELATION_T@ACCUYD_LINK on ACC_GROUP_RELATION_T.group_no =ACC_GROUP_T.group_no\n" +
"left join CARD_TYPE_DIC on decode(substr(upload_no,18,1),8,8,decode(substr(ORIGINAL_NO,21,1),6,5,substr(ORIGINAL_NO,21,1))) = CARD_TYPE_DIC.CARD_TYPE_ID\n" +
"left join CARD_TYPE_DIC on decode(decode(substr(ORIGINAL_NO,21,1),6,5,substr(ORIGINAL_NO,21,1))) = CARD_TYPE_DIC.CARD_TYPE_ID\n" +
"where " +
"ACC_GROUP_T.group_no not in (select group_no from group_no)\n" +
"and to_char(ACC_GROUP_T.IMPORT_TIME,'yyyyMMdd')=#{submitDate} \n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment