From 22655ad10d386f0fc3c38389f519d3d188b46f19 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 13 十月 2023 16:29:54 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java
index 82cf182..286ac62 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java
@@ -128,6 +128,7 @@
         Integer APPLYTYPE = spFinancialExpensesIn.getAPPLYTYPE();
         Integer pageNum = spFinancialExpensesIn.getPageNum();
         Integer pageSize = spFinancialExpensesIn.getPageSize();
+        Integer checkstatus = spFinancialExpensesIn.getCheckstatus();
 
         if (pageNum == null) {
             pageNum = 1;
@@ -150,7 +151,7 @@
         }
 
         //startPage();
-        List<SpFinancialExpensesFundOut> list = serviceFundService.getListBypower(loginUser.getUsername(), 2, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE);
+        List<SpFinancialExpensesFundOut> list = serviceFundService.getListBypower(loginUser.getUsername(), 2, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE,checkstatus);
         //閫氳繃鎹愮尞鑰呰繃婊�
         if (StringUtils.isNotEmpty(spFinancialExpensesIn.getDonorname())) {
             list = list.stream().filter(obj -> obj.getDonorname().contains(spFinancialExpensesIn.getDonorname())).collect(Collectors.toList());
@@ -545,8 +546,6 @@
             //001瀹℃壒閫氳繃涔嬪悗锛屽氨闇�瑕佹妸鈥滃姙鍏涓讳换鈥濈殑鍚嶅瓧濉笂
             if (checkFundVO.getFlowconclusion() == 1 && user.getUserName().equals("001")) {
                 serviceFund.setOfficedirector(user.getNickName());
-                String bh = baseOnlyvalueService.getOnlyCode("fund");
-                serviceFund.setBh(bh);
             }
             serviceFundService.updateById(serviceFund);
 
@@ -2005,4 +2004,17 @@
 
     }
 
+
+    /**
+     * 缁╂晥璁$畻
+     */
+    @ApiOperation("缁╂晥璁$畻")
+    @Log(title = "缁╂晥璁$畻", businessType = BusinessType.INSERT)
+    @PostMapping("/performance")
+    @RepeatSubmit
+    public AjaxResult performance(@RequestBody ServiceFundVO serviceFundVO) {
+
+        return AjaxResult.success(serviceFundService.performance(serviceFundVO));
+    }
+
 }

--
Gitblit v1.9.3