Browse Source

产品推送接口-项目处理进展同步处理部门类型字段

feature/screenDataPush
liuchuang 4 years ago
parent
commit
d5eb59da13
  1. 6
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

6
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

@ -102,7 +102,10 @@
group_concat(t4.DEPT_ID)transferDeptIds,
t1.HANDLER_DEPT as handlerName,
t1.HANDLER_DEPT_ID as handlerId,
'unknown' as handlerType,
case dt.`type_key`
when 'grid_party' then 'grid'
when 'street_party' or 'community_party' then 'agency'
else 'department' end as handlerType,
case
when t1.STATE = 10 then 'closed_case'
when t1.STATE = 5 then 'close'
@ -114,6 +117,7 @@
t1.CREATED_TIME as processTime
from esua_epdc_events.epdc_item_handle_process t1
left join esua_epdc_events.epdc_item_dept t4 on t4.ITEM_HANDLE_ID = t1.ID
left join `esua_epdc_admin`.`sys_dept` dt on t1.`HANDLER_DEPT_ID` = dt.`id`
where t1.UPDATED_TIME >= #{yearMonthDay}
and t1.UPDATED_TIME <= now() and t1.DEL_FLAG = '0'
and t1.HANDLER_DEPT_ID not in ( SELECT t.`dept_id`

Loading…
Cancel
Save