From ed96786e6b27c980998aac9053c5f987f8dc3ca7 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 04 一月 2025 09:51:45 +0800
Subject: [PATCH] 优化代码

---
 pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/stClient/StClientCtrl.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/stClient/StClientCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/stClient/StClientCtrl.java
index 7b21ee7..e1fab95 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/stClient/StClientCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/stClient/StClientCtrl.java
@@ -5,7 +5,7 @@
 import com.dy.common.webUtil.BaseResponse;
 import com.dy.common.webUtil.BaseResponseUtils;
 import com.dy.common.webUtil.QueryResultVo;
-import com.dy.pipIrrGlobal.voSt.VoDayIntakeAmount;
+import com.dy.pipIrrGlobal.voSt.VoStClientAmountDay;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -20,7 +20,6 @@
  * @Date: 2024/12/30 15:22
  * @Description
  */
-
 @Slf4j
 @RestController
 @RequestMapping(path="stClient")
@@ -34,7 +33,6 @@
         this.sv = sv ;
     }
 
-
     /**
      * 鏌ヨ鎸囧畾骞存湀鍐滄埛鍚勬棩鐢ㄦ按閲�
      * @param qo
@@ -42,16 +40,14 @@
      */
     @GetMapping(path = "/amountOfDay")
     @SsoAop()
-    public BaseResponse<QueryResultVo<List<VoDayIntakeAmount>>> amountOfDay(StClientQo qo) throws Exception {
+    public BaseResponse<QueryResultVo<List<VoStClientAmountDay>>> amountOfDay(StClientQo qo) throws Exception {
         String yearMonth = qo.getYearMonth();
         if(yearMonth == null || yearMonth.trim().equals("")) {
             return BaseResponseUtils.buildErrorMsg("鏌ヨ鏉′欢骞存湀涓嶈兘涓虹┖");
         }
-
         int[] ymd = DateTime.yyyy_MM_ymdGroup(yearMonth) ;
         qo.year = ymd[0] ;
         qo.month = ymd[1] ;
-
         return BaseResponseUtils.buildSuccess(this.sv.selectStClientAmountDay(qo));
     }
 }

--
Gitblit v1.8.0