From a8157b2445e6d17fa23fcf19143f5e1fcb179ee2 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 16 十二月 2024 10:09:40 +0800
Subject: [PATCH] 实现临时任务功能:重新统计所有取水口月用水量和年用水量

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/ChangeMapper.java |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 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 5245577..8c7af33 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,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);
+    /**
+     * 淇濆瓨鍙栨按鍙g殑鏈堢敤姘撮噺缁熻
+     * @return 褰卞搷瀹炰綋鏁�
+     */
+    int saveOneIntakeAmountMonth(StIntakeAmountMonth pojo);
+
+
+
+
+    /**
+     * 鍒犻櫎鎵�鏈夊彇姘村彛鐨勫勾鐢ㄦ按閲忕粺璁�
+     * @return 褰卞搷瀹炰綋鏁�
+     */
+    int deleteAllIntakeAmountYear();
+
+
+    /**
+     * 缁熻鎵�鏈夊彇姘村彛鐨勫勾鐢ㄦ按閲�
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<StIntakeAmountYear> statisticAllIntakeAmountYearFromAmountDay(@Param("startDt")Date startDt,
+                                                                       @Param("endDt")Date endDt);
+    /**
+     * 淇濆瓨鍙栨按鍙g殑鏈堢敤姘撮噺缁熻
+     * @return 褰卞搷瀹炰綋鏁�
+     */
+    int saveOneIntakeAmountYear(StIntakeAmountYear pojo);
+
+
 }
\ No newline at end of file

--
Gitblit v1.8.0