Browse Source

修改归档率统计条件

master
luyan 2 years ago
parent
commit
f5c0502fed
  1. 2
      epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

2
epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

@ -480,7 +480,7 @@
and d.GRID_PIDS like concat(#{orgIdPath},'%') and d.GRID_PIDS like concat(#{orgIdPath},'%')
</if> </if>
) ed, ) ed,
( SELECT SUM( CASE WHEN d.DIFFICULT_POINT = 1 THEN 1 ELSE 0 END ) as dang ( SELECT SUM( CASE WHEN d.DIFFICULT_POINT = 1 and d.OPERATION_TYPE = 0 THEN 1 ELSE 0 END) as dang
FROM ic_event d WHERE d.DEL_FLAG = 0 FROM ic_event d WHERE d.DEL_FLAG = 0
<if test="null != orgIdPath and orgIdPath != ''"> <if test="null != orgIdPath and orgIdPath != ''">
and d.GRID_PIDS like concat(#{orgIdPath},'%') and d.GRID_PIDS like concat(#{orgIdPath},'%')

Loading…
Cancel
Save