You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
726 B
18 lines
726 B
![]()
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||
|
<mapper namespace="com.hnac.hzims.scheduled.mapper.operation.AbnormalAlarmMapper">
|
||
|
|
||
|
<select id="getAbnormalAlarm" resultType="com.hnac.hzims.operational.alert.entity.AbnormalAlarmEntity">
|
||
|
select * from hzims_abnormal_alarm
|
||
|
where station_id = #{stationId}
|
||
|
and type = #{type}
|
||
|
and is_deleted = 0
|
||
|
</select>
|
||
|
<select id="getAbnormalAlarmList" resultType="java.lang.String">
|
||
|
select distinct station_id from hzims_abnormal_alarm
|
||
|
where is_deleted = 0
|
||
|
and type in (13,14)
|
||
|
and `STATUS` = 0
|
||
|
</select>
|
||
|
</mapper>
|