| package com.dy.pipIrrGlobal.daoSt; | 
|   | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import com.dy.pipIrrGlobal.pojoSt.StIntakeAmountMonth; | 
| import com.dy.pipIrrGlobal.pojoSt.StLossMonth; | 
| import com.dy.pipIrrGlobal.voSt.VoIntakeAmountStatistics; | 
| import com.dy.pipIrrGlobal.voSt.VoIntakeLossStatistics; | 
| import org.apache.ibatis.annotations.Mapper; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * @Author: liurunyu | 
|  * @Date: 2024/7/24 16:38 | 
|  * @Description | 
|  */ | 
| @Mapper | 
| public interface StIntakeAmountMonthMapper extends BaseMapper<StIntakeAmountMonth> { | 
|     /** | 
|      * delete by primary key | 
|      * @param id primaryKey | 
|      * @return deleteCount | 
|      */ | 
|     int deleteByPrimaryKey(Long id); | 
|   | 
|     /** | 
|      * insert record to table | 
|      * @param record the record | 
|      * @return insert count | 
|      */ | 
|     int insert(StIntakeAmountMonth record); | 
|   | 
|     /** | 
|      * insert record to table selective | 
|      * @param record the record | 
|      * @return insert count | 
|      */ | 
|     int insertSelective(StIntakeAmountMonth record); | 
|   | 
|     /** | 
|      * select by primary key | 
|      * @param id primary key | 
|      * @return object by primary key | 
|      */ | 
|     StIntakeAmountMonth selectByPrimaryKey(Long id); | 
|   | 
|     /** | 
|      * update record selective | 
|      * @param record the updated record | 
|      * @return update count | 
|      */ | 
|     int updateByPrimaryKeySelective(StIntakeAmountMonth record); | 
|   | 
|     /** | 
|      * update record | 
|      * @param record the updated record | 
|      * @return update count | 
|      */ | 
|     int updateByPrimaryKey(StIntakeAmountMonth record); | 
|   | 
|     /** | 
|      * 以取水口维度统计取水量 | 
|      * @param year 统计年度 | 
|      * @return | 
|      */ | 
|     List<VoIntakeAmountStatistics> statisticsByIntake(Integer year, Integer month, Long startId, Long endId) ; | 
|     /** | 
|      * 以取水口维度统计取水量 | 
|      * @param year 统计年度 | 
|      * @return | 
|      */ | 
|     List<VoIntakeAmountStatistics> statisticsByIntake(Integer year) ; | 
| } |