|
|
@ -521,7 +521,7 @@ |
|
|
max(CREATED_TIME) |
|
|
max(CREATED_TIME) |
|
|
from epdc_item_handle_process |
|
|
from epdc_item_handle_process |
|
|
where b.ITEM_ID = ITEM_ID |
|
|
where b.ITEM_ID = ITEM_ID |
|
|
and HANDLER_DEPT != '网格化平台' |
|
|
and (HANDLER_DEPT != '网格化平台' or (HANDLER_DEPT = '网格化平台' and STATE in (1060,1065))) |
|
|
and DEL_FLAG = '0' |
|
|
and DEL_FLAG = '0' |
|
|
) |
|
|
) |
|
|
) process on process.ITEM_ID = item.ID |
|
|
) process on process.ITEM_ID = item.ID |
|
|
|