Browse Source

结案审批列表---完善

feature/dangjian
wanggongfeng 3 years ago
parent
commit
9b5bf42150
  1. 4
      esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

4
esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

@ -2116,8 +2116,8 @@
from epdc_item i
left join (
select b.ID,b.ITEM_ID,b.CREATED_TIME,b.state,b.CLOSE_CHECK_ID
from epdc_item_handle_process b where b.CREATED_TIME = (
SELECT max(CREATED_TIME) from epdc_item_handle_process where b.ITEM_ID = ITEM_ID
from epdc_item_handle_process b where b.DEL_FLAG = 0 and b.CREATED_TIME = (
SELECT max(CREATED_TIME) from epdc_item_handle_process where DEL_FLAG = 0 and b.ITEM_ID = ITEM_ID
)
) process on process.ITEM_ID = i.ID
where i.DEL_FLAG='0'

Loading…
Cancel
Save