From 64bce2eb858b95e7851b6c05fa34938dbfb701e6 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 30 五月 2024 16:49:13 +0800
Subject: [PATCH] 修改因算税时间一税,导致获取历史数据不准的问题(加上xh字段) 个税汇总里的功能,删除时一个fund时,将相应的fund的“算税时间” 和"funddetail"表里的“算税时间”、“序号”置空
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java
index 800cf68..bbaf6fb 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java
@@ -80,11 +80,13 @@
*/
@ApiOperation("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�")
@Log(title = "涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
@RepeatSubmit
public AjaxResult add(@RequestBody ServiceDistributedetail serviceDistributedetail) {
log.info("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁嗭細{}", serviceDistributedetail);
- return toAjax(serviceDistributedetailService.save(serviceDistributedetail));
+ boolean save = serviceDistributedetailService.save(serviceDistributedetail);
+ log.info("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁唖erviceDistributedetail鐨刬d锛歿}", serviceDistributedetail.getId());
+ return AjaxResult.success(serviceDistributedetail);
}
/**
--
Gitblit v1.9.3