|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoRm.RmIntakeAmountDay; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoRm.RmLossDay; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSt.StIntakeAmountMonth; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSt.StIntakeAmountYear; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSt.StLossMonth; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSt.StLossYear; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voSt.VoIntake; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voTmp.VoRmIntakeAmountDay; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int updateOneIntakeAmountDay(@Param("id")Long id, @Param("amount")Double amount); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 更新一个取水口的日用水量统计 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 更新一个取水口的日用水量统计 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int updateOneIntakeAmountDay1(@Param("intakeId")Long intakeId, @Param("dt")Date dt, | 
|---|
|  |  |  | @Param("amount")Double amount, @Param("money")Double money, @Param("times")Integer times); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除所有取水口的日用水量统计 | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteSomeIntakeAmountDay(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 统计所有取水口的日用水量 | 
|---|
|  |  |  | * @return 实体集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<VoRmIntakeAmountDay> statisticAllIntakeAmountDayFromOpenCloseValveHistory(@Param("startDt")Date startDt, | 
|---|
|  |  |  | @Param("endDt")Date endDt); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<RmIntakeAmountDay> selectStIntakeDayStatisticsByDate(@Param("intakeId")Long intakeId, @Param("date")Date date); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除所有取水口的月用水量统计 | 
|---|
|  |  |  | 
|---|
|  |  |  | int saveOneIntakeAmountYear(StIntakeAmountYear pojo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //////////////////////////////////////// | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //漏损相关 | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //////////////////////////////////////// | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询一个取水口的日漏损量统计记录 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 实体集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<RmLossDay> selectOneIntakeAllLossDay(@Param("intakeId")Long intakeId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 更新一个取水口的日漏损量统计 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int updateOneIntakeLossDay(@Param("id")Long id, @Param("loss")Double loss); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除所有取水口的月漏损量统计 | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteAllIntakeLossMonth(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 统计所有取水口的月漏损量 | 
|---|
|  |  |  | * @return 实体集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<StLossMonth> statisticAllIntakeLossMonthFromLossDay(@Param("startDt")Date startDt, | 
|---|
|  |  |  | @Param("endDt")Date endDt); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 保存取水口的月漏损量统计 | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int saveOneIntakeLossMonth(StLossMonth pojo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除所有取水口的年漏损量统计 | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteAllIntakeLossYear(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 统计所有取水口的年漏损量 | 
|---|
|  |  |  | * @return 实体集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<StLossYear> statisticAllIntakeLossYearFromLossDay(@Param("startDt")Date startDt, | 
|---|
|  |  |  | @Param("endDt")Date endDt); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 保存取水口的月漏损量统计 | 
|---|
|  |  |  | * @return 影响实体数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int saveOneIntakeLossYear(StLossYear pojo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|