From 42a4a2eb3de8d47692295bef9a6ecf8baa8270c0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 30 七月 2025 09:38:32 +0800
Subject: [PATCH] 发现元谋系统农户用水日统计数据中,2025年5月份的数据有重复现象,发生的原因不明,有临时模块中实现删除重复数据的功能。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDayCtrl.java |    4 ++--
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDaySv.java   |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDay.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDayCtrl.java
similarity index 90%
rename from pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDay.java
rename to pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDayCtrl.java
index a7cc0e7..85d03f9 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDay.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDayCtrl.java
@@ -17,7 +17,7 @@
 @Slf4j
 @RestController
 @RequestMapping(path = "delRepeatStClientAmountDay")
-public class DelRepeatStClientAmountDay {
+public class DelRepeatStClientAmountDayCtrl {
     private DelRepeatStClientAmountDaySv sv ;
 
     @Autowired
@@ -29,7 +29,7 @@
      * 鍒犻櫎涓�浜涙紡鎹熺粺璁�
      * @return
      */
-    @GetMapping(path = "deleteSomeStatisticClientDayAmount")
+    @GetMapping(path = "deleteSome")
     @SsoAop()
     public BaseResponse<Boolean> deleteSomeStatisticClientDayAmount(){
         this.sv.delStClientAmountDay() ;
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDaySv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDaySv.java
index 8deab02..e2d654c 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDaySv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delRepeatStClientAmountDay/DelRepeatStClientAmountDaySv.java
@@ -3,6 +3,7 @@
 import com.dy.pipIrrGlobal.daoTmp.DeleteMapper;
 import com.dy.pipIrrGlobal.voTmp.VoStClientAmountDay;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
@@ -18,6 +19,10 @@
 public class DelRepeatStClientAmountDaySv {
     private DeleteMapper dao ;
 
+    @Autowired
+    private void setDao(DeleteMapper dao){
+        this.dao = dao;
+    }
 
     @Transactional
     public void delStClientAmountDay(){

--
Gitblit v1.8.0