From d9d08181a94d727a4fe5933ac9efd1ff5c8a7c5a Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 16 七月 2025 13:49:13 +0800
Subject: [PATCH] 中间件修改内容: 1、当没农业综合站时即没相关配置项目内容为空时,启动时会产生bug; 2、整理优化代码。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java
index 320da48..fea76f5 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java
@@ -35,9 +35,6 @@
     }
 
 
-
-
-
     ///////////////////////////////////////////
     //
     // 鍙栨按鍙g浉鍏冲彇姘撮噺
@@ -61,8 +58,10 @@
     @GetMapping(path = "reStatisticsAllIntakeDayAmount")
     @SsoAop()
     public BaseResponse<Boolean> reStatisticsAllIntakeDayAmount() throws Exception{
-        this.intakeAmountSv.deleteAllIntakeAmountDay();
+        // 涓嶈兘鍒犻櫎锛屼互淇濈暀鍘熷id
+        // this.intakeAmountSv.deleteAllIntakeAmountDay();
         this.intakeAmountSv.statisticsIntakeAmountDay();
+        this.intakeAmountSv.deleteSomeIntakeAmountDay();
         return BaseResponseUtils.buildSuccess(true);
     }
 

--
Gitblit v1.8.0