From fce916c7af752880836b992c03ae8ac2e63ed723 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 19 三月 2024 15:08:43 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java
index 8cb1ee2..348e725 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java
@@ -95,12 +95,9 @@
@ApiOperation("鍒犻櫎涓撳璐圭敤绠楃◣鐢宠涓�")
@PreAuthorize("@ss.hasPermi('system:fundtax:remove')")
@Log(title = "涓撳璐圭敤绠楃◣鐢宠涓�", businessType = BusinessType.DELETE)
- @GetMapping("/remove/id")
+ @GetMapping("/remove/{id}")
public AjaxResult remove(@PathVariable Long id) {
- ServiceFundtax serviceFundtax = new ServiceFundtax();
- serviceFundtax.setDel_flag(1);
- serviceFundtax.setId(id);
- return toAjax(serviceFundtaxService.updateById(serviceFundtax));
+ return toAjax(serviceFundtaxService.removeById(id));
}
--
Gitblit v1.9.3