Commit 428a1035 authored by liuxinben's avatar liuxinben

异地证 港澳类型组,搜组号从制证库保存,生成的任务单是军人证

parent 4e8e65a4
......@@ -34,7 +34,7 @@ public interface TaskListMapper {
@Select("select DISTINCT CARD_TYPE_DIC.*, PROD_GROUP_T.* ,'000000' COUNTY_CODE,'0000' COUNTYNAME,'3' DEAL_FLAG, '00000000' USER_CODE from PRODYD_DBA.PROD_CARD_T@PRODYD_LINK \n" +
"left join PRODYD_DBA.PROD_GROUP_T@PRODYD_LINK on substr(prod_card_t.accept_no,0,8) = prod_GROUP_T.group_no\n" +
"left join PRODYD_DBA.PROD_GROUP_RELATION_T@PRODYD_LINK on PROD_GROUP_RELATION_T.group_no =PROD_GROUP_T.group_no\n" +
"left join CARD_TYPE_DIC on substr(CARD_TYPE_DIC.ORIGINAL_NO,21,1) = CARD_TYPE_DIC.CARD_TYPE_ID\n" +
"left join CARD_TYPE_DIC on decode(substr(ORIGINAL_NO,21,1),6,5,substr(ORIGINAL_NO,21,1))) = CARD_TYPE_DIC.CARD_TYPE_ID\n" +
"where \n" +
"PROD_GROUP_T.group_no not in (select group_no from group_no)\n" +
"and PROD_GROUP_T.GROUP_NO BETWEEN #{groupNo1} AND #{groupNo2}\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