From 8a228c854bfc8e781cc7e3f7f3ca6f500f2392a8 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 22 五月 2025 17:29:28 +0800
Subject: [PATCH] yxh

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
index 49727dd..f2140fb 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
@@ -20,7 +20,6 @@
 import com.ruoyi.project.domain.vo.SpFinancialExpensesIn;
 import com.ruoyi.project.domain.vo.SpFinancialExpensesReimbursementOut;
 import com.ruoyi.project.service.*;
-import com.ruoyi.system.service.ISysDeptService;
 import com.ruoyi.system.service.ISysPostService;
 import com.ruoyi.system.service.ISysUserService;
 import com.ruoyi.web.controller.enums.PersonType;
@@ -104,7 +103,7 @@
      * 鏌ヨ鎶ラ攢鐢宠鍒楄〃
      */
     @ApiOperation("鏌ヨ鎶ラ攢鐢宠鍒楄〃")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:list')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:list')")
     @Log(title = "鏌ヨ鎶ラ攢鐢宠鍒楄〃", businessType = BusinessType.OTHER)
     @GetMapping("/list")
     public TableDataInfo list(ServiceReimbursement serviceReimbursement) {
@@ -190,7 +189,7 @@
      * 瀵煎嚭鎶ラ攢鐢宠鍒楄〃
      */
     @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鍒楄〃")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:export')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:export')")
     @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.EXPORT)
     @GetMapping("/export")
     public AjaxResult export(ServiceReimbursement serviceReimbursement) {
@@ -203,7 +202,7 @@
      * 鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅
      */
     @ApiOperation("鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:query')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id) {
         return AjaxResult.success(serviceReimbursementService.getById(id));
@@ -223,7 +222,7 @@
      * 鏂板鎶ラ攢鐢宠
      */
     @ApiOperation("鏂板鎶ラ攢鐢宠")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:add')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:add')")
     @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT)
     @PostMapping("/add")
     @RepeatSubmit
@@ -489,8 +488,8 @@
                 }
 
             }
-            //001瀹℃壒閫氳繃涔嬪悗锛屽氨闇�瑕佹妸鈥滃姙鍏涓讳换鈥濈殑鍚嶅瓧濉笂
-            if (checkFundVO.getFlowconclusion() == 1 && user.getUserName().equals("001")) {
+            //053瀹℃壒閫氳繃涔嬪悗锛屽氨闇�瑕佹妸鈥滃姙鍏涓讳换鈥濈殑鍚嶅瓧濉笂
+            if (checkFundVO.getFlowconclusion() == 1 && user.getUserName().equals("053")) {
                 serviceReimbursement.setOfficedirector(user.getNickName());
                 serviceReimbursement.setUploadStates(1);
             }
@@ -539,7 +538,7 @@
      * 淇敼鎶ラ攢鐢宠
      */
     @ApiOperation("淇敼鎶ラ攢鐢宠")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')")
     @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.UPDATE)
     @PostMapping("/reimbursementEdit")
     @RepeatSubmit
@@ -555,7 +554,7 @@
      * 淇敼鎶ラ攢鐢宠
      */
     @ApiOperation("淇敼鎶ラ攢鐢宠")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')")
     @Log(title = "瀹℃牳璐圭敤", businessType = BusinessType.OTHER)
     @PostMapping("/editMoney")
     public AjaxResult editMoney(@RequestBody List<ReimbursementService> serviceReimbursement) {
@@ -570,7 +569,7 @@
      * 鍒犻櫎鎶ラ攢鐢宠
      */
     @ApiOperation("鍒犻櫎鎶ラ攢鐢宠")
-    //@PreAuthorize("@ss.hasPermi('project:reimbursement:remove')")
+    //// @PreAuthorize("@ss.hasPermi('project:reimbursement:remove')")
     @Log(title = "鎶ラ攢鐢宠")
     @GetMapping("/remove/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids) {
@@ -762,7 +761,7 @@
             throw new ServiceException("涓嬭浇澶辫触锛岀敤鎴蜂俊鎭嚭閿�", HttpStatus.NO_CONTENT);
         }
 
-        Date dt = rdInfoByItem.get(0).getCreateTime();
+        Date dt = rdInfoByItem.get(0).getApplyTime();
         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
         String date = formatter.format(dt);
         String time = date.substring(0, 10);

--
Gitblit v1.9.3