whyclxw
2024-06-27 f8479e6f138343b091b3ceeb7b232e75b3247946
src/main/resources/mapper/BattAlarmMapper.xml
@@ -22,4 +22,13 @@
            order by batt_alarm.alm_start_time asc
        </where>
    </select>
    <select id="getAlm2" resultType="com.whyc.pojo.BattAlarm">
        SELECT distinct *
        from db_alarm.tb_battalarm_data
        <where>
            BattGroupId=#{battGroupId}
            and alm_signal_id in(13)
            and alm_severity=1
        </where>
    </select>
</mapper>