package com.dy.pipIrrGlobal.daoSt; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoSt.StLossMonth; import com.dy.pipIrrGlobal.voSt.VoIntakeLossStatistics; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * @Author: liurunyu * @Date: 2024/7/24 15:48 * @Description */ @Mapper public interface StLossMonthMapper extends BaseMapper { /** * 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(StLossMonth record); /** * insert record to table selective * * @param record the record * @return insert count */ int insertSelective(StLossMonth record); /** * select by primary key * * @param id primary key * @return object by primary key */ StLossMonth selectByPrimaryKey(Long id); /** * update record selective * * @param record the updated record * @return update count */ int updateByPrimaryKeySelective(StLossMonth record); /** * update record * * @param record the updated record * @return update count */ int updateByPrimaryKey(StLossMonth record); /** * 以取水口维度统计漏损量 * @param year 统计年度 * @return */ List statisticsByIntake(Integer year) ; }