From e61966a89350cf11940d5bd538a5dda06cb6b437 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 03 十二月 2026 17:01:18 +0800
Subject: [PATCH] 完善个税汇总模块删除记录的问题

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundtaxController.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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 c11b8ad..27d9d40 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
@@ -10,6 +10,7 @@
 import com.ruoyi.project.domain.ServiceFund;
 import com.ruoyi.project.domain.ServiceFundtax;
 import com.ruoyi.project.domain.vo.FundTaxVO;
+import com.ruoyi.project.domain.vo.SpFinancialExpensesFundOut;
 import com.ruoyi.project.service.IServiceFundService;
 import com.ruoyi.project.service.IServiceFundtaxService;
 import io.swagger.annotations.Api;
@@ -46,10 +47,7 @@
     public TableDataInfo list(ServiceFundtax serviceFundtax) {
         startPage();
         List<ServiceFundtax> list = serviceFundtaxService.queryList(serviceFundtax);
-        Collections.sort(list, (sft1, sft2) -> {
-            Long i = sft2.getId() - sft1.getId();
-            return i.intValue();
-        });
+//        list.sort(Comparator.comparing(ServiceFundtax::getCreateTime, Comparator.nullsLast(Comparator.reverseOrder())));
         return getDataTable(list);
     }
 //
@@ -57,7 +55,7 @@
 //     * 瀵煎嚭涓撳璐圭敤绠楃◣鐢宠涓诲垪琛�
 //     */
 //    @ApiOperation("瀵煎嚭涓撳璐圭敤绠楃◣鐢宠涓诲垪琛�")
-//    @PreAuthorize("@ss.hasPermi('system:fundtax:export')")
+//    // @PreAuthorize("@ss.hasPermi('system:fundtax:export')")
 //    @Log(title = "涓撳璐圭敤绠楃◣鐢宠涓�", businessType = BusinessType.EXPORT)
 //    @GetMapping("/export")
 //    public AjaxResult export(ServiceFundtax serviceFundtax) {
@@ -93,12 +91,14 @@
 
     /**
      * 鍒犻櫎涓撳璐圭敤绠楃◣鐢宠涓�
+     * <p>2026-12-03锛氬垹闄ょ殑鍚屾椂瑙g粦璇ユ壒娆′笅鐨勪笓瀹惰垂鐢宠鍗曪紙istax=0銆乫und_tax_id=null锛夛紝
+     * 鍚﹀垯杩欐壒鍗曟嵁涓嬫鍋氫釜绋庢眹鎬绘椂閫変笉鍒般�傛壒閲忓垹闄や紶鍙備负閫楀彿鍒嗛殧鐨� id銆�
      */
     @ApiOperation("鍒犻櫎涓撳璐圭敤绠楃◣鐢宠涓�")
     @Log(title = "涓撳璐圭敤绠楃◣鐢宠涓�", businessType = BusinessType.DELETE)
-    @GetMapping("/remove/{id}")
-    public AjaxResult remove(@PathVariable Long id) {
-        return toAjax(serviceFundtaxService.removeById(id));
+    @GetMapping("/remove/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids) {
+        return AjaxResult.success(serviceFundtaxService.removeFundtax(ids));
     }
 
 

--
Gitblit v1.9.3