From d5eb59da134df1691f5873bbc17eb35f6e81ad2f Mon Sep 17 00:00:00 2001 From: liuchuang <123456> Date: Wed, 20 Oct 2021 10:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=8E=A8=E9=80=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3-=E9=A1=B9=E7=9B=AE=E5=A4=84=E7=90=86=E8=BF=9B?= =?UTF-8?q?=E5=B1=95=E5=90=8C=E6=AD=A5=E5=A4=84=E7=90=86=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/screen/ScreenProjectDataDao.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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`