From b2abd25927c39e849e592f1abdc08879d8d35245 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期三, 07 五月 2025 09:48:39 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/statistics/StSomeCtrl.java |   78 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/statistics/StSomeCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/statistics/StSomeCtrl.java
new file mode 100644
index 0000000..9353712
--- /dev/null
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/statistics/StSomeCtrl.java
@@ -0,0 +1,78 @@
+package com.dy.pipIrrTemp.statistics;
+
+import com.dy.common.aop.SsoAop;
+import com.dy.common.webUtil.BaseResponse;
+import com.dy.common.webUtil.BaseResponseUtils;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/12/28 13:05
+ * @Description
+ */
+@Slf4j
+@RestController
+@RequestMapping(path = "stSome")
+public class StSomeCtrl {
+
+    private StClientAmountDaySv stClientAmountDaySv;
+    private StClientAmountMonthSv stClientAmountMonthSv;
+    private StClientAmountYearSv stClientAmountYearSv;
+
+    @Autowired
+    private void setSv(StClientAmountDaySv sv) {
+        this.stClientAmountDaySv = sv;
+    }
+    @Autowired
+    private void setSv(StClientAmountMonthSv sv) {
+        this.stClientAmountMonthSv = sv;
+    }
+    @Autowired
+    private void setSv(StClientAmountYearSv sv) {
+        this.stClientAmountYearSv = sv;
+    }
+
+    ///////////////////////////////////////////
+    //
+    // 鍐滄埛鐩稿叧鍙栨按閲�
+    //
+    ///////////////////////////////////////////
+    /**
+     * 杞瓨鍐滄埛鏃ュ彇姘撮噺锛岀敱绾靛瀷鏀逛负妯瀷
+     * @return
+     */
+    @GetMapping(path = "transSaveClientAmountDay")
+    @SsoAop()
+    public BaseResponse<Boolean> transSaveClientAmountDay() throws Exception{
+        this.stClientAmountDaySv.deleteAllStClientAmountDay();
+        this.stClientAmountDaySv.transSaveClientAmountDay();
+        return BaseResponseUtils.buildSuccess(true);
+    }
+    /**
+     * 缁熻鍐滄埛鏈堝彇姘撮噺
+     * @return
+     */
+    @GetMapping(path = "statisticsClientAmountMonth")
+    @SsoAop()
+    public BaseResponse<Boolean> statisticsClientAmountMonth() throws Exception{
+        this.stClientAmountMonthSv.deleteAllStClientAmountMonth();
+        this.stClientAmountMonthSv.statisticsClientAmountMonth();
+        return BaseResponseUtils.buildSuccess(true);
+    }
+   /**
+     * 缁熻鍐滄埛骞村彇姘撮噺
+     * @return
+     */
+    @GetMapping(path = "statisticsClientAmountYear")
+    @SsoAop()
+    public BaseResponse<Boolean> statisticsClientAmountYear() throws Exception{
+        this.stClientAmountYearSv.deleteAllStClientAmountYear();
+        this.stClientAmountYearSv.statisticsClientAmountYear();
+        return BaseResponseUtils.buildSuccess(true);
+    }
+
+}

--
Gitblit v1.8.0