diff --git a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml index 6ac995ab8..ab3141e69 100755 --- a/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml +++ b/esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml @@ -1416,6 +1416,8 @@ inner join (select *,max(CREATED_TIME) as maxTime from epdc_item_handle_process where DEL_FLAG='0' + and CLOSE_CHECK_ID=#{deptId} + and STATE=11 group by ITEM_ID )max_it on it.ITEM_ID=max_it.ITEM_ID and it.CREATED_TIME=max_it.maxTime