Browse Source

#告警处理记录

zhongwei
yang_shj 8 months ago
parent
commit
af820cfb4e
  1. 11
      hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/mapper/AlarmHandleMapper.xml

11
hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/show/mapper/AlarmHandleMapper.xml

@ -4,15 +4,9 @@
<select id="selectHandlePage" resultType="com.hnac.hzims.alarm.config.vo.AlarmHandleVo"> <select id="selectHandlePage" resultType="com.hnac.hzims.alarm.config.vo.AlarmHandleVo">
SELECT H.*,HANDLE_USER,H.PHENOMENON_ID,H.ACCESS_ID,H.DELAY_TIME,H.DELAY_CAUSE, SELECT H.*,S.NAME AS STATION_NAME
H.FALSE_ALARM_DESC,H.FILE_PATH,S.NAME AS STATION_NAME,P.CHECK_PROCESS_INSTANCE_ID,A.PROCESS_INSTANCE_ID
FROM HZIMS_ALARM_HANDLE H FROM HZIMS_ALARM_HANDLE H
LEFT JOIN HZIMS_OPERATION.HZIMS_STATION S LEFT JOIN HZIMS_OPERATION.HZIMS_STATION S ON H.STATION_CODE = S.CODE
ON H.STATION_CODE = S.CODE
LEFT JOIN HZIMS_OPERATION.HZIMS_OPER_PHENOMENON P
ON H.PHENOMENON_ID = P.ID
LEFT JOIN HZIMS_OPERATION.HZIMS_OPER_ACCESS_PLAN A
ON H.ACCESS_ID = A.ID
<where> <where>
H.IS_DELETED = 0 H.IS_DELETED = 0
<if test="param.stationCode != null"> <if test="param.stationCode != null">
@ -33,6 +27,7 @@
</where> </where>
order by create_time desc order by create_time desc
</select> </select>
<select id="handles" resultType="java.lang.String"> <select id="handles" resultType="java.lang.String">
SELECT HANDLER.ALARM_ID SELECT HANDLER.ALARM_ID
FROM HZIMS_ALARM_HANDLE HANDLER FROM HZIMS_ALARM_HANDLE HANDLER

Loading…
Cancel
Save