|
|
@ -1905,7 +1905,7 @@ select gr.id as orgId, |
|
|
|
<select id="getDifficultydata" resultType="com.elink.esua.epdc.dto.screen.result.DifficultydataResultDTO"> |
|
|
|
SELECT |
|
|
|
'grid' as orgType , |
|
|
|
ee.GRID orgId, |
|
|
|
ee.GRID_ID orgId, |
|
|
|
dd.PIDS allParentIds, |
|
|
|
dd.PID parentId, |
|
|
|
ee.GRID orgName, |
|
|
@ -1922,7 +1922,8 @@ select gr.id as orgId, |
|
|
|
(case ee.ITEM_STATE when 0 then '处理中' when 5 then '已关闭' when 10 then '已结案' end) as latestOperateDesc, |
|
|
|
date_format( now( ), '%Y%m%d' ) dataEndTime, |
|
|
|
IFNULL(ee.HANDLE_TOTAL,0) eventHandledCount, |
|
|
|
dd.area_code as areaCode |
|
|
|
dd.area_code as areaCode, |
|
|
|
LEFT(ee.ITEM_CONTENT,50)eventTitle |
|
|
|
FROM |
|
|
|
esua_epdc_analysis.epdc_difficult_item ee |
|
|
|
left join esua_epdc_admin.sys_dept dd on dd.ID = ee.GRID_ID |
|
|
@ -1932,7 +1933,7 @@ select gr.id as orgId, |
|
|
|
AND dd.`id` NOT IN( SELECT t.`dept_id` |
|
|
|
FROM `esua_epdc_admin`.`sys_dept_config` t |
|
|
|
WHERE t.`del_flag`= 0) |
|
|
|
and ee.CREATED_TIME >= date_format( date_add( now( ), INTERVAL - 1 MONTH ), '%Y-%m-%d' ) |
|
|
|
and ee.DISTRIBUTE_TIME <= date_format( date_add( now( ), INTERVAL - 1 DAY ), '%Y-%m-%d' ) |
|
|
|
</select> |
|
|
|
<!-- 007 --> |
|
|
|
<select id="getUserjoin" resultType="com.elink.esua.epdc.dto.screen.result.UserjoinResultDTO"> |
|
|
|