liurunyu
2024-06-26 e8d6c405c367e1bd501a6f6b4fa8cfa0dddbd806
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.dy.pipIrrGlobal.daoRm;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoRm.RmOpenCloseLast;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
/**
 * @author ZhuBaoMin
 * @date 2024-06-20 10:34
 * @LastEditTime 2024-06-20 10:34
 * @Description
 */
 
@Mapper
public interface RmOpenCloseLastMapper extends BaseMapper<RmOpenCloseLast> {
    int deleteByPrimaryKey(Long id);
 
    int insert(RmOpenCloseLast record);
 
    int insertSelective(RmOpenCloseLast record);
 
    RmOpenCloseLast selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(RmOpenCloseLast record);
 
    int updateByPrimaryKey(RmOpenCloseLast record);
 
    /**
     * 根据阀控器地址获取开关阀上报最新数据
     * @param rtuAddr
     * @return
     */
    List<RmOpenCloseLast> getRmOpenCloseReportLast(String rtuAddr);
}