From b4cc626b4a948952d21296cc62604b4f1d33bdb2 Mon Sep 17 00:00:00 2001
From: yaozc <yaozc@yhzhg.cn>
Date: Wed, 18 Oct 2023 06:39:41 +0000
Subject: [PATCH] 前后端计算金额不一致

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java
index 4b3ee53..9894d09 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java
@@ -16,6 +16,7 @@
 package me.zhengjie.modules.attendance.rest;
 
 import me.zhengjie.annotation.Log;
+import me.zhengjie.modules.attendance.domain.AgreeUpdateRequest;
 import me.zhengjie.modules.attendance.domain.AttendanceBusinessTravel;
 import me.zhengjie.modules.attendance.domain.AttendanceGoOut;
 import me.zhengjie.modules.attendance.domain.AttendanceLeave;
@@ -111,4 +112,13 @@
         attendanceGoOutService.updateApprove(resources);
         return new ResponseEntity<>(HttpStatus.NO_CONTENT);
     }
+
+    @PutMapping(value = "/updateAgree")
+    @Log("批量审核")
+    @ApiOperation("批量审核")
+    @PreAuthorize("@el.check('attendanceGoOut:updateAgree')")
+    public ResponseEntity<Object> editIsAgree(@Validated @RequestBody AgreeUpdateRequest request) throws Exception {
+        attendanceGoOutService.updateAgree(request);
+        return new ResponseEntity<>(HttpStatus.NO_CONTENT);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3