From 4d730af0447c686133130d0116a0fa3dd82c2dca Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:41:03 +0000
Subject: [PATCH] Merge branch 'wcd-2411-update' into wcd

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/MeritWageController.java |   57 ++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 32 insertions(+), 25 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/MeritWageController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/MeritWageController.java
index 54d19a5..eca300d 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/MeritWageController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/MeritWageController.java
@@ -1,18 +1,18 @@
 /*
-*  Copyright 2019-2020 Zheng Jie
-*
-*  Licensed under the Apache License, Version 2.0 (the "License");
-*  you may not use this file except in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*  http://www.apache.org/licenses/LICENSE-2.0
-*
-*  Unless required by applicable law or agreed to in writing, software
-*  distributed under the License is distributed on an "AS IS" BASIS,
-*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-*  See the License for the specific language governing permissions and
-*  limitations under the License.
-*/
+ *  Copyright 2019-2020 Zheng Jie
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
 package me.zhengjie.modules.treatment.rest;
 
 import me.zhengjie.annotation.Log;
@@ -27,14 +27,15 @@
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 import io.swagger.annotations.*;
+
 import java.io.IOException;
 import javax.servlet.http.HttpServletResponse;
 
 /**
-* @website https://eladmin.vip
-* @author 初瑞峰
-* @date 2023-09-07
-**/
+ * @author 初瑞峰
+ * @website https://eladmin.vip
+ * @date 2023-09-07
+ **/
 @RestController
 @RequiredArgsConstructor
 @Api(tags = "业绩管理管理")
@@ -55,22 +56,22 @@
     @Log("查询业绩管理")
     @ApiOperation("查询业绩管理")
     @PreAuthorize("@el.check('meritWage:list')")
-    public ResponseEntity<Object> queryMeritWage(MeritWageQueryCriteria criteria, Pageable pageable){
-        return new ResponseEntity<>(meritWageService.queryAll(criteria,pageable),HttpStatus.OK);
+    public ResponseEntity<Object> queryMeritWage(MeritWageQueryCriteria criteria, Pageable pageable) {
+        return new ResponseEntity<>(meritWageService.queryAll(criteria, pageable), HttpStatus.OK);
     }
 
     @PostMapping
     @Log("新增业绩管理")
     @ApiOperation("新增业绩管理")
     @PreAuthorize("@el.check('meritWage:add')")
-    public ResponseEntity<Object> createMeritWage(@Validated @RequestBody MeritWage resources){
-        return new ResponseEntity<>(meritWageService.create(resources),HttpStatus.CREATED);
+    public ResponseEntity<Object> createMeritWage(@Validated @RequestBody MeritWage resources) {
+        return new ResponseEntity<>(meritWageService.create(resources), HttpStatus.CREATED);
     }
 
     @PutMapping
     @ApiOperation("修改业绩管理")
     @PreAuthorize("@el.check('meritWage:edit')")
-    public ResponseEntity<Object> updateMeritWage(@Validated @RequestBody MeritWage resources){
+    public ResponseEntity<Object> updateMeritWage(@Validated @RequestBody MeritWage resources) {
         meritWageService.update(resources);
         return new ResponseEntity<>(HttpStatus.NO_CONTENT);
     }
@@ -87,12 +88,18 @@
     @ApiOperation("获取所有的等级")
     @GetMapping("/getAllData")
     public ResponseEntity<Object> getAllData() {
-        return new ResponseEntity<>(meritWageService.getAllData(),HttpStatus.OK);
+        return new ResponseEntity<>(meritWageService.getAllData(), HttpStatus.OK);
     }
 
     @GetMapping("/fillData")
     @ApiOperation("回显指定的levelId的数据")
     public ResponseEntity<Object> fillData(Long levelId) {
-        return new ResponseEntity<>(meritWageService.fillData(levelId),HttpStatus.OK);
+        return new ResponseEntity<>(meritWageService.fillData(levelId), HttpStatus.OK);
+    }
+
+
+    @GetMapping("/getMeritWageDetail")
+    public ResponseEntity<Object> getMeritWageDetail(Double performanceHours, String targetYearMonth) {
+        return new ResponseEntity<>(meritWageService.getMeritWageDetail(performanceHours, targetYearMonth), HttpStatus.OK);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3