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
package com.dy.pipIrrGlobal.daoTmp;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoRm.RmIntakeAmountDay;
import com.dy.pipIrrGlobal.voSt.VoIntake;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * @Author: liurunyu
 * @Date: 2024/12/14 09:27
 * @Description
 */
@Mapper
public interface ChangeMapper extends BaseMapper<Object> {
 
    /**
     * 查询全部取水口
     *
     * @return 实体集合
     */
    List<VoIntake> selectAllPrIntakes();
 
    /**
     * 查询一个取水口的日用水量统计记录
     *
     * @return 实体集合
     */
    List<RmIntakeAmountDay> selectOneIntakeAllAmountDay(@Param("intakeId")Long intakeId);
 
    /**
     * 更新一个取水口的日用水量统计
     *
     * @return 影响实体数
     */
    int updateOneIntakeAmountDay(@Param("id")Long id, @Param("amount")Double amount);
 
}