|
|
|
@ -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"> |
|
|
|
|