From c19de84fa332a00c651f28e3a52292fd14f143a1 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 23 九月 2025 17:30:07 +0800
Subject: [PATCH] 陆常丽反应软件系统财务对账时而数据不准确,分析源码,找到bug原因是,财务对账统计只有用户点击后才会触发统计功能,把历史上及当天进行了统计,如果当天统计时未下班,例如是中午触发统计了,而下午又进行了充值售水,但下班后未再点击触发对账统计,那么今天的对账统计完成了但数据不对。编写自动任务,在下半夜进行对账统计。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/largeScreen/Ls4StatisticsCtrl.java |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/largeScreen/Ls4StatisticsCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/largeScreen/Ls4StatisticsCtrl.java
index 03dd99c..16c2df6 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/largeScreen/Ls4StatisticsCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/largeScreen/Ls4StatisticsCtrl.java
@@ -10,6 +10,8 @@
 import com.dy.pipIrrGlobal.voLargeScreen.VoCurrentInfo;
 import com.dy.pipIrrGlobal.voLargeScreen.VoMonitorInfo;
 import com.dy.pipIrrGlobal.voMd.VoCrops;
+import com.dy.pipIrrGlobal.voMd.VoCropsSimple;
+import com.dy.pipIrrGlobal.voMd.VoEt0Simple;
 import com.dy.pipIrrGlobal.voSpecial.VoTopXClient;
 import com.dy.pipIrrGlobal.voSpecial.VoTopXIntake;
 import io.swagger.v3.oas.annotations.Operation;
@@ -187,34 +189,34 @@
                     responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
                     description = "寰楀埌鎵�鏈変綔鐗╋紙BaseResponse.content:[VoTopXIntake{}]锛�",
                     content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
-                            schema = @Schema(implementation = VoCrops.class))}
+                            schema = @Schema(implementation = VoCropsSimple.class))}
             )
     })
     @GetMapping(path = "allCropts")
     @SsoAop()
-    public BaseResponse<List<VoCrops>> allCropts(){
-        List<VoCrops> res = this.sv.allCropts();
+    public BaseResponse<List<VoCropsSimple>> allCropts(){
+        List<VoCropsSimple> res = this.sv.allCropts();
         return BaseResponseUtils.buildSuccess(res);
     }
 
 
     /**
-     * 寰楀埌涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鑵鹃噺
+     * 寰楀埌涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鏁i噺
      * @return 鏁版嵁闆嗗悎
      */
-    @Operation(summary = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鑵鹃噺", description = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鑵鹃噺")
+    @Operation(summary = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鏁i噺", description = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鏁i噺")
     @ApiResponses(value = {
             @ApiResponse(
                     responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE,
-                    description = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鑵鹃噺锛圔aseResponse.content:[VoTopXIntake{}]锛�",
+                    description = "涓�涓綔鐗╀竴鍛ㄥ唴鐨勮捀鏁i噺锛圔aseResponse.content:[VoTopXIntake{}]锛�",
                     content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
-                            schema = @Schema(implementation = MdEt0.class))}
+                            schema = @Schema(implementation = VoEt0Simple.class))}
             )
     })
     @GetMapping(path = "et0InWeek")
     @SsoAop()
-    public BaseResponse<List<MdEt0>> et0InWeek(Long cropId){
-        List<MdEt0> res = this.sv.et0InWeek(cropId);
+    public BaseResponse<List<VoEt0Simple>> et0InWeek(Long cropId){
+        List<VoEt0Simple> res = this.sv.et0InWeek(cropId);
         return BaseResponseUtils.buildSuccess(res);
     }
 

--
Gitblit v1.8.0