From 89dc7eddbc0c9ce1f6d7e7f5da8ca85e54e32edc Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 11 一月 2025 14:41:04 +0800 Subject: [PATCH] 增加一个vo --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java index 8c7af33..fb4ea55 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java @@ -2,9 +2,13 @@ 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; @@ -39,9 +43,38 @@ * @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 deleteAllIntakeAmountDay(); + + + + /** + * 缁熻鎵�鏈夊彇姘村彛鐨勬棩鐢ㄦ按閲� + * @return 瀹炰綋闆嗗悎 + */ + List<VoRmIntakeAmountDay> statisticAllIntakeAmountDayFromOpenCloseValveHistory(@Param("startDt")Date startDt, + @Param("endDt")Date endDt); + + List<RmIntakeAmountDay> selectStIntakeDayStatisticsByDate(@Param("intakeId")Long intakeId, @Param("date")Date date); /** * 鍒犻櫎鎵�鏈夊彇姘村彛鐨勬湀鐢ㄦ按閲忕粺璁� @@ -85,4 +118,65 @@ 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); + /** + * 淇濆瓨鍙栨按鍙g殑鏈堟紡鎹熼噺缁熻 + * @return 褰卞搷瀹炰綋鏁� + */ + int saveOneIntakeLossMonth(StLossMonth pojo); + + + /** + * 鍒犻櫎鎵�鏈夊彇姘村彛鐨勫勾婕忔崯閲忕粺璁� + * @return 褰卞搷瀹炰綋鏁� + */ + int deleteAllIntakeLossYear(); + + + /** + * 缁熻鎵�鏈夊彇姘村彛鐨勫勾婕忔崯閲� + * @return 瀹炰綋闆嗗悎 + */ + List<StLossYear> statisticAllIntakeLossYearFromLossDay(@Param("startDt")Date startDt, + @Param("endDt")Date endDt); + /** + * 淇濆瓨鍙栨按鍙g殑鏈堟紡鎹熼噺缁熻 + * @return 褰卞搷瀹炰綋鏁� + */ + int saveOneIntakeLossYear(StLossYear pojo); + } \ No newline at end of file -- Gitblit v1.8.0