liulin
3 天以前 6a49247e27307c35bc8e4dd4ce368c7d8850318a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.nanjing.water.repository.mapper;
 
import com.nanjing.water.repository.BasicMapper;
import com.nanjing.water.repository.po.AlarmHistoryPO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
 
/**
 * 报警信息 mapper
 * @author lin.liu
 */
public interface AlarmHistoryMapper extends BasicMapper<AlarmHistoryPO> {
 
    @Delete("DELETE FROM alarm_history where facility_id=#{facilityId} and code=#{code}")
    Integer deleteList(Long facilityId, String code);
}