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>