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-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java | 53 -----------------------------------------------------
1 files changed, 0 insertions(+), 53 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
index f1cebfe..6f5032d 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
@@ -52,15 +52,6 @@
private final IrrigatePlanSv irrigatePlanSv;
private final CommandSv commandSv;
- /**
- * 鍒涘缓鐏屾簤璁″垝
- * 1. 娣诲姞鐏屾簤璁″垝
- * 2. 娣诲姞鐏屾簤娆″簭
- * 3. 娣诲姞鐏屾簤璁″垝鎿嶄綔璁板綍
- * @param planAndSchedule
- * @param bindingResult
- * @return
- */
@PostMapping(path = "createPlan", consumes = MediaType.APPLICATION_JSON_VALUE)
//@Transactional(rollbackFor = Exception.class)
public BaseResponse<Boolean> createPlan(@RequestBody @Valid IrrigatePlan planAndSchedule, BindingResult bindingResult){
@@ -165,12 +156,6 @@
return BaseResponseUtils.buildSuccess();
}
- /**
- * 鍒犻櫎鐏屾簤璁″垝
- * @param planSimple
- * @param bindingResult
- * @return
- */
@PostMapping(path = "deletePlan")
public BaseResponse<Boolean> deletePlan(@RequestBody @Valid PlanSimple planSimple, BindingResult bindingResult) {
if(bindingResult != null && bindingResult.hasErrors()){
@@ -184,15 +169,6 @@
return BaseResponseUtils.buildSuccess() ;
}
- /**
- * 鍙戝竷鐏屾簤璁″垝
- * 1. 淇敼鐏屾簤璁″垝鐘舵�佷负鍙戝竷鐘舵��
- * 2. 娣诲姞鐏屾簤璁″垝鎿嶄綔璁板綍
- * 3. 鐢熸垚寮�闃�璁″垝
- * @param planSimple
- * @param bindingResult
- * @return
- */
@PostMapping(path = "publishPlan", consumes = MediaType.APPLICATION_JSON_VALUE)
//@Transactional(rollbackFor = Exception.class)
public BaseResponse<Boolean> publishPlan(@RequestBody @Valid PlanSimple planSimple, BindingResult bindingResult){
@@ -290,11 +266,6 @@
//return BaseResponseUtils.buildSuccess();
}
- /**
- * 鏍规嵁璁″垝ID鑾峰彇璁″垝鏈�鏂扮姸鎬�
- * @param planId
- * @return
- */
@GetMapping(path = "/getPlanLatestState")
public BaseResponse<Integer> getPlanLatestState(@RequestParam Long planId) {
if(planId == null) {
@@ -309,12 +280,6 @@
}
}
- /**
- * 缁堟鐏屾簤璁″垝
- * @param planSimple
- * @param bindingResult
- * @return
- */
@PostMapping(path = "terminatePlan", consumes = MediaType.APPLICATION_JSON_VALUE)
//@Transactional(rollbackFor = Exception.class)
public BaseResponse<Boolean> terminatePlan(@RequestBody @Valid PlanSimple planSimple, BindingResult bindingResult){
@@ -397,10 +362,6 @@
return BaseResponseUtils.buildSuccess();
}
- /**
- * 鑾峰彇鏈畬鎴愮殑璁″垝鍒楄〃锛屽皬绋嬪簭璁″垝鍒楄〃椤典娇鐢�
- * @return
- */
@GetMapping(path = "/getNotCompletePlans")
public BaseResponse<List<VoPlans>> getNotCompletePlans() {
try {
@@ -412,10 +373,6 @@
}
}
- /**
- * 鑾峰彇宸插畬鎴愮殑璁″垝鍒楄〃锛屽皬绋嬪簭璁″垝鍒楄〃椤典娇鐢�
- * @return
- */
@GetMapping(path = "/getCompletedPlans")
public BaseResponse<QueryResultVo<List<VoPlans>>> getCompletedPlans(QueryConditionVo qo) {
try {
@@ -426,11 +383,6 @@
}
}
- /**
- * 鏍规嵁璁″垝ID鑾峰彇璁″垝鍙戝竷缁撴灉
- * @param planId
- * @return
- */
@GetMapping(path = "/getPublishResults")
public BaseResponse<VoPlanDetails> getPublishResults(@RequestParam Long planId) {
if(planId == null) {
@@ -446,11 +398,6 @@
}
}
- /**
- * 鏍规嵁璁″垝ID鑾峰彇璁″垝缁堟鎿嶄綔缁撴灉
- * @param planId
- * @return
- */
@GetMapping(path = "/getTerminateResults")
public BaseResponse<VoPlanDetails> getTerminateResults(@RequestParam Long planId) {
if(planId == null) {
--
Gitblit v1.8.0