From 29a186e6859d73e2a10dfaca9391de612fd6ce42 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 04 一月 2025 09:29:27 +0800
Subject: [PATCH] 增加vo属性在json中排序
---
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 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 3c7befe..2ebaaf0 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
@@ -22,11 +22,27 @@
private ChSomeIntakeAmountSv intakeAmountSv;
+ private ChSomeIntakeLossSv intakeLossSv;
+
@Autowired
private void setSv(ChSomeIntakeAmountSv sv) {
this.intakeAmountSv = sv;
}
+ @Autowired
+ private void setSv(ChSomeIntakeLossSv sv) {
+ this.intakeLossSv = sv;
+ }
+
+
+
+
+
+ ///////////////////////////////////////////
+ //
+ // 鍙栨按鍙g浉鍏冲彇姘撮噺
+ //
+ ///////////////////////////////////////////
/**
* 淇敼涓�浜涘彇姘村彛鍙栨按閲忔棩缁熻
* @return
@@ -62,4 +78,48 @@
this.intakeAmountSv.statisticsIntakeAmountYear();
return BaseResponseUtils.buildSuccess(true);
}
+
+
+
+
+ ///////////////////////////////////////////
+ //
+ // 鍙栨按鍙g浉鍏虫紡鎹�
+ //
+ ///////////////////////////////////////////
+ /**
+ * 淇敼涓�浜涘彇姘村彛婕忔崯閲忔棩缁熻
+ * @return
+ */
+ @GetMapping(path = "changeSomeIntakeDayLoss")
+ @SsoAop()
+ public BaseResponse<Boolean> changeSomeIntakeDayLoss() throws Exception{
+ this.intakeLossSv.chIntakeLossDay();
+ return BaseResponseUtils.buildSuccess(true);
+ }
+
+
+ /**
+ * 閲嶆柊缁熻鍙栨按鍙f湀婕忔崯閲�
+ * @return
+ */
+ @GetMapping(path = "reStatisticsAllIntakeMonthLoss")
+ @SsoAop()
+ public BaseResponse<Boolean> reStatisticsAllIntakeMonthLoss() throws Exception{
+ this.intakeLossSv.deleteAllIntakeLossMonth();
+ this.intakeLossSv.statisticsIntakeLossMonth();
+ return BaseResponseUtils.buildSuccess(true);
+ }
+
+ /**
+ * 閲嶆柊缁熻鍙栨按鍙f墍婕忔崯閲�
+ * @return
+ */
+ @GetMapping(path = "reStatisticsAllIntakeYearLoss")
+ @SsoAop()
+ public BaseResponse<Boolean> reStatisticsAllIntakeYearLoss() throws Exception{
+ this.intakeLossSv.deleteAllIntakeLossYear();
+ this.intakeLossSv.statisticsIntakeLossYear();
+ return BaseResponseUtils.buildSuccess(true);
+ }
}
--
Gitblit v1.8.0