From 23fd053ec297e0ceae3a01fa3a205af05d3aea54 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 11 二月 2025 11:54:47 +0800 Subject: [PATCH] 优化代码 --- pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeCtrl.java | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 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 2ebaaf0..fea76f5 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 @@ -35,9 +35,6 @@ } - - - /////////////////////////////////////////// // // 鍙栨按鍙g浉鍏冲彇姘撮噺 @@ -54,6 +51,20 @@ return BaseResponseUtils.buildSuccess(true); } + /** + * 閲嶆柊缁熻鍙栨按鍙f湀鍙栨按閲� + * @return + */ + @GetMapping(path = "reStatisticsAllIntakeDayAmount") + @SsoAop() + public BaseResponse<Boolean> reStatisticsAllIntakeDayAmount() throws Exception{ + // 涓嶈兘鍒犻櫎锛屼互淇濈暀鍘熷id + // this.intakeAmountSv.deleteAllIntakeAmountDay(); + this.intakeAmountSv.statisticsIntakeAmountDay(); + this.intakeAmountSv.deleteSomeIntakeAmountDay(); + return BaseResponseUtils.buildSuccess(true); + } + /** * 閲嶆柊缁熻鍙栨按鍙f湀鍙栨按閲� -- Gitblit v1.8.0