|
|
|
@ -4,15 +4,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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, |
|
|
|
|
H.FALSE_ALARM_DESC,H.FILE_PATH,S.NAME AS STATION_NAME,P.CHECK_PROCESS_INSTANCE_ID,A.PROCESS_INSTANCE_ID |
|
|
|
|
SELECT H.*,S.NAME AS STATION_NAME |
|
|
|
|
FROM HZIMS_ALARM_HANDLE H |
|
|
|
|
LEFT JOIN HZIMS_OPERATION.HZIMS_STATION S |
|
|
|
|
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 |
|
|
|
|
LEFT JOIN HZIMS_OPERATION.HZIMS_STATION S ON H.STATION_CODE = S.CODE |
|
|
|
|
<where> |
|
|
|
|
H.IS_DELETED = 0 |
|
|
|
|
<if test="param.stationCode != null"> |
|
|
|
@ -33,6 +27,7 @@
|
|
|
|
|
</where> |
|
|
|
|
order by create_time desc |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="handles" resultType="java.lang.String"> |
|
|
|
|
SELECT HANDLER.ALARM_ID |
|
|
|
|
FROM HZIMS_ALARM_HANDLE HANDLER |
|
|
|
|