Browse Source

难点堵点 bug修改

feature/syp_points
songyunpeng 5 years ago
parent
commit
3ee87ed1b2
  1. 7
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenPublicDataDao.xml

7
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenPublicDataDao.xml

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

Loading…
Cancel
Save