diff --git a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml index 8efdf9e5..25d95bc1 100644 --- a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml +++ b/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`