@@ -20,8 +20,8 @@ public interface TaskListMapper {
...
@@ -20,8 +20,8 @@ public interface TaskListMapper {
* @param submitDate
* @param submitDate
* @return
* @return
*/
*/
@Select(" SELECT coun.COUNTYNAME,substr(act.upload_no,0,6),count(*) as count FROM ACC_CARD_T@ACCU_DBLINK act ,count()"+
@Select(" SELECT coun.COUNTYNAME,substr(act.upload_no,0,6),count(*) as count FROM ACC_CARD_T@ACCU_LINK act ,count()"+
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no "+
" LEFT JOIN ACC_GROUP_T@ACCU_LINK agt on substr(act.accept_no,0,8) = agt.group_no "+
" LEFT JOIN COUNTY_DIC coun on substr(act.upload_no,0,6) = coun.county_code "+
" LEFT JOIN COUNTY_DIC coun on substr(act.upload_no,0,6) = coun.county_code "+
" WHERE agt.group_no not in (select GROUP_NO.group_no from GROUP_NO) "+
" WHERE agt.group_no not in (select GROUP_NO.group_no from GROUP_NO) "+
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} "+
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} "+
...
@@ -121,13 +121,21 @@ public interface TaskListMapper {
...
@@ -121,13 +121,21 @@ public interface TaskListMapper {
/**
/**
* 生成任务单
* 生成快证任务单
* @param taskEntity 任务单
* @param taskEntity 任务单
* @return
* @return
*/
*/
@Insert("insert into task (CARD_TYPE,COUNTY_CODE,SUBMIT_NAME,TASK_STATE_ID) values(#{cardType},#{countyCode},#{submitName},#{taskStateId})")
@Insert("insert into task (CARD_TYPE,COUNTY_CODE,SUBMIT_NAME,TASK_STATE_ID,OLD_CARD_TYPE) values(#{cardType},#{countyCode},#{submitName},#{taskStateId},#{oldCardType})")