liurunyu
2024-12-16 a8157b2445e6d17fa23fcf19143f5e1fcb179ee2
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java
@@ -2,10 +2,13 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoRm.RmIntakeAmountDay;
import com.dy.pipIrrGlobal.pojoSt.StIntakeAmountMonth;
import com.dy.pipIrrGlobal.pojoSt.StIntakeAmountYear;
import com.dy.pipIrrGlobal.voSt.VoIntake;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
@@ -37,4 +40,49 @@
     */
    int updateOneIntakeAmountDay(@Param("id")Long id, @Param("amount")Double amount);
    /**
     * 删除所有取水口的月用水量统计
     * @return 影响实体数
     */
    int deleteAllIntakeAmountMonth();
    /**
     * 统计所有取水口的月用水量
     * @return 实体集合
     */
    List<StIntakeAmountMonth> statisticAllIntakeAmountMonthFromAmountDay(@Param("startDt")Date startDt,
                                                                         @Param("endDt")Date endDt);
    /**
     * 保存取水口的月用水量统计
     * @return 影响实体数
     */
    int saveOneIntakeAmountMonth(StIntakeAmountMonth pojo);
    /**
     * 删除所有取水口的年用水量统计
     * @return 影响实体数
     */
    int deleteAllIntakeAmountYear();
    /**
     * 统计所有取水口的年用水量
     * @return 实体集合
     */
    List<StIntakeAmountYear> statisticAllIntakeAmountYearFromAmountDay(@Param("startDt")Date startDt,
                                                                       @Param("endDt")Date endDt);
    /**
     * 保存取水口的月用水量统计
     * @return 影响实体数
     */
    int saveOneIntakeAmountYear(StIntakeAmountYear pojo);
}