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