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
73
74
75
76
77
78
package com.dy.pipIrrGlobal.daoLargeScreen;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
 
/**
 * @Author: liurunyu
 * @Date: 2025/2/6 10:46
 * @Description
 */
@Mapper
public interface Ls4StatisticsMapper extends BaseMapper<Object> {
 
    /**
     * 涉及行政区划总数
     * @return
     */
    Integer totalCountOfDistrict(@Param("level")Integer level) ;
    /**
     * 片区总数
     * @return
     */
    Integer totalCountOfBlock() ;
    /**
     * 分水房总数
     * @return
     */
    Integer totalCountOfDivide() ;
    /**
     * 取水口总数
     * @return
     */
    Integer totalCountOfIntake() ;
    /**
     * 已绑定控制器的取水口总数
     * @return
     */
    Integer totalCountOfIntakeWithController() ;
   /**
     * 未绑定控制器的取水口总数
     * @return
     */
    Integer totalCountOfIntakeWithoutController() ;
    /**
     * 阀控器总数
     * @return
     */
    Integer totalCountOfController() ;
    /**
     * 流浪阀控器总数
     * @return
     */
    Integer totalCountOfControllerTramp() ;
 
    /**
     * 开阀总数
     */
    Integer totalCountOfOpenValve(@Param("dt") Date dt) ;
 
    /**
     * 关阀总数
     */
    Integer totalCountOfCloseValve(@Param("dt") Date dt) ;
 
    /**
     * 报警总数
     */
    Integer totalCountOfAlarm(@Param("dt") Date dt) ;
 
    /**
     * 无报警总数
     */
    Integer totalCountOfNoAlarm(@Param("dt") Date dt) ;
 
}