Browse Source

修改事件分析统计方式;

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

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

@ -547,9 +547,12 @@
ic_event_reply r
<where>
r.DEL_FLAG = 0
<if test="null != manageType and manageType != ''">
<if test="null != manageType and manageType != '' and manageType != '2'">
AND r.MANAGE_STATUS = #{manageType}
</if>
<if test="null != manageType and manageType != '' and manageType == '2'">
AND (r.MANAGE_STATUS = #{manageType} OR r.MANAGE_STATUS = 3 OR r.MANAGE_STATUS = 4)
</if>
AND r.IC_EVENT_ID IN (
SELECT e.id from ic_event e
<where>
@ -563,6 +566,7 @@
</where>
)
</where>
GROUP BY r.id
</select>
<select id="getEventBySourceTypeCount" resultType="com.epmet.dto.result.EventAnalysisResultDTO">

Loading…
Cancel
Save