|
|
|
@ -734,9 +734,7 @@ item.UPDATED_TIME, |
|
|
|
(select dct.dict_value from esua_epdc_admin.sys_dict dct where dct.del_flag = 0 and dct.dict_type = 'dcp' and dct.pid != 0) CUSTOMER_ID |
|
|
|
from epdc_item item |
|
|
|
left join epdc_issue isu on isu.ID = item.ISSUE_ID and isu.del_flag = 0 |
|
|
|
where item.DEL_FLAG = '0' |
|
|
|
and item.TOPIC_ID is not null |
|
|
|
and item.TOPIC_ID != '' |
|
|
|
where item.DEL_FLAG = '0' |
|
|
|
and item.UPDATED_TIME > ? |
|
|
|
UNION ALL |
|
|
|
select |
|
|
|
|