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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.dy.pipIrrGlobal.daoPr;
 
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pipIrrGlobal.pojoPr.PrFlowMonitoring;
import com.dy.pipIrrGlobal.pojoPr.PrIntake;
import com.dy.pipIrrGlobal.voPr.VoFlowMonitoring;
import com.dy.pipIrrGlobal.voPr.VoIntake;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author ZhuBaoMin
 * @date 2024-01-04 16:02
 * @LastEditTime 2024-01-04 16:02
 * @Description
 */
public interface PrFlowMonitoringMapper {
    int deleteByPrimaryKey(Long id);
 
    int insert(PrFlowMonitoring record);
 
    int insertSelective(PrFlowMonitoring record);
 
    PrFlowMonitoring selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(PrFlowMonitoring record);
 
    int updateByPrimaryKey(PrFlowMonitoring record);
 
    /**
     * 根据监测站编号删除监测站
     *
     * @param flowMonitoringId
     * @return
     */
    Integer deleteFlowMonitoringById(@Param("flowMonitoringId") Long flowMonitoringId);
 
    /**
     * 根据监测站编号获取未删除的监测站数量
     *
     * @param flowMonitoringId
     * @return
     */
    Integer getRecordCountOfFlowMonitoringByFlowMonitoringId(@Param("flowMonitoringId") Long flowMonitoringId);
 
    /**
     * 根据监测站 名称 绑定状态 获取未删除的监测站数量
     *
     * @param params
     * @return
     */
    Integer getRecordCountOfFlowMonitoring(Map<?, ?> params);
 
    /**
     * 根据指定条件获取流量监测站实体记录
     *
     * @param params
     * @return 实体集合
     */
    List<VoFlowMonitoring> getPrFlowMonitoring(Map<?, ?> params);
 
    /**
     * 查询全部流量监测站实体记录
     *
     * @return 实体集合
     */
    List<PrFlowMonitoring> selectAll();
 
 
}