From d5426047a2173c69c32eb70166ce5c61b54ff228 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 26 十二月 2024 15:46:34 +0800
Subject: [PATCH] 1、实现农户IC卡充值日、月、年自动化统计; 2、实现农户充值日、月、年自动化统计; 3、部分实现农户IC卡充值日、月、年自动化统计; 4、部分实现农户充值日、月、年自动化统计。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/loss/LossSv.java |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/loss/LossSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/loss/LossSv.java
index 63db789..4692924 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/loss/LossSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/loss/LossSv.java
@@ -26,10 +26,10 @@
 public class LossSv {
 
     @Autowired
-    private RmLossDayMapper rmLossDayMapper ;
+    private RmLossDayMapper dayDao;
 
     @Autowired
-    private StLossMonthMapper stLossMonthMapper ;
+    private StLossMonthMapper monthDao;
 
     /**
      * 缁熻鎸囧畾鏈堜唤鍚勫ぉ婕忔崯閲�
@@ -41,28 +41,28 @@
         // 鐢熸垚鏌ヨ鍙傛暟
         Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(qo) ;
         // 鑾峰彇绗﹀悎鏉′欢鐨勮褰曟暟
-        Long itemTotal = rmLossDayMapper.selectIntakeCount4LossDay(qo.intakeNum) ;
+        Long itemTotal = dayDao.selectIntakeCount4LossDay(qo.intakeNum) ;
 
         if(itemTotal != null && itemTotal > 0){
             rsVo.pageSize = qo.pageSize ;
             rsVo.pageCurr = qo.pageCurr ;
             rsVo.calculateAndSet(itemTotal, params);
 
-            List<VoDayLoss> list = rmLossDayMapper.selectIntakes4LossDay(params);
+            List<VoDayLoss> list = dayDao.selectIntakes4LossDay(params);
             if(list == null || list.size() == 0){
                 rsVo.obj = list ;
             }else{
                 String json = JSON.toJSONString(list) ;
                 params.put("intakesJson", json);
 
-                List<VoDayLoss> list01_05 = rmLossDayMapper.selectLossAmountOfDay01_05(params);
+                List<VoDayLoss> list01_05 = dayDao.selectLossAmountOfDay01_05(params);
                 if(list01_05 != null && list01_05.size() > 0){
                     //涓嬮潰1鍒�31鍙峰垎浜�6涓煡璇紝鍘熷洜鏄湪涓�涓煡璇腑锛岄潪甯告參锛屼笉鐭ラ亾浠�涔堝師鍥狅紝涔熻鏄瓙鏌ヨ澶鐨勫師鍥�
-                    List<VoDayLoss> list06_10 = rmLossDayMapper.selectLossAmountOfDay06_10(params);
-                    List<VoDayLoss> list11_15 = rmLossDayMapper.selectLossAmountOfDay11_15(params);
-                    List<VoDayLoss> list16_20 = rmLossDayMapper.selectLossAmountOfDay16_20(params);
-                    List<VoDayLoss> list21_25 = rmLossDayMapper.selectLossAmountOfDay21_25(params);
-                    List<VoDayLoss> list26_31 = rmLossDayMapper.selectLossAmountOfDay26_31(params);
+                    List<VoDayLoss> list06_10 = dayDao.selectLossAmountOfDay06_10(params);
+                    List<VoDayLoss> list11_15 = dayDao.selectLossAmountOfDay11_15(params);
+                    List<VoDayLoss> list16_20 = dayDao.selectLossAmountOfDay16_20(params);
+                    List<VoDayLoss> list21_25 = dayDao.selectLossAmountOfDay21_25(params);
+                    List<VoDayLoss> list26_31 = dayDao.selectLossAmountOfDay26_31(params);
                     this.merge(list01_05, list06_10, list11_15, list16_20, list21_25, list26_31);
                 }
                 rsVo.obj = list01_05 ;
@@ -143,24 +143,24 @@
         // 鐢熸垚鏌ヨ鍙傛暟
         Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(qo) ;
         // 鑾峰彇绗﹀悎鏉′欢鐨勮褰曟暟
-        Long itemTotal = stLossMonthMapper.selectIntakeCount4LossMonth(qo.intakeNum) ;
+        Long itemTotal = monthDao.selectIntakeCount4LossMonth(qo.intakeNum) ;
 
         if(itemTotal != null && itemTotal > 0){
             rsVo.pageSize = qo.pageSize ;
             rsVo.pageCurr = qo.pageCurr ;
             rsVo.calculateAndSet(itemTotal, params);
 
-            List<VoMonthAmount> list = stLossMonthMapper.selectIntakes4LossMonth(params);
+            List<VoMonthAmount> list = monthDao.selectIntakes4LossMonth(params);
             if(list == null || list.size() == 0){
                 rsVo.obj = list ;
             }else{
                 String json = JSON.toJSONString(list) ;
                 params.put("intakesJson", json);
 
-                List<VoMonthAmount> list01_06 = stLossMonthMapper.selectLossAmountOfMonth01_06(params);
+                List<VoMonthAmount> list01_06 = monthDao.selectLossAmountOfMonth01_06(params);
                 if(list01_06 != null && list01_06.size() > 0){
                     //涓嬮潰1鍒�12鏈堝垎浜�2涓煡璇紝鍘熷洜鏄湪涓�涓煡璇腑锛岄潪甯告參锛屼笉鐭ラ亾浠�涔堝師鍥狅紝涔熻鏄瓙鏌ヨ澶鐨勫師鍥�
-                    List<VoMonthAmount> list07_12 = stLossMonthMapper.selectLossAmountOfMonth07_12(params);
+                    List<VoMonthAmount> list07_12 = monthDao.selectLossAmountOfMonth07_12(params);
                     this.merge(list01_06, list07_12);
                 }
                 rsVo.obj = list01_06 ;

--
Gitblit v1.8.0