From 138d5f087e386c657d964e4e4c2b8ac65038e085 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 01 二月 2021 14:47:06 +0800
Subject: [PATCH] 优化 考勤任务上报

---
 service-common/src/main/java/com/java110/common/api/AttrValueApi.java |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/service-common/src/main/java/com/java110/common/api/AttrValueApi.java b/service-common/src/main/java/com/java110/common/api/AttrValueApi.java
index ad052ca..a5ef6f2 100644
--- a/service-common/src/main/java/com/java110/common/api/AttrValueApi.java
+++ b/service-common/src/main/java/com/java110/common/api/AttrValueApi.java
@@ -11,7 +11,11 @@
 import com.java110.utils.util.BeanConvertUtil;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 
 @RestController
@@ -97,11 +101,25 @@
      * @return
      * @serviceCode /attrValue/queryAttrValue
      * @path /app/attrValue/queryAttrValue
+     * value: '',
+     * valueShow: '',
+     * valueName: '',
      */
     @RequestMapping(value = "/queryAttrValue", method = RequestMethod.GET)
-    public ResponseEntity<String> queryAttrValue(@RequestParam(value = "specCd") String specCd) {
+    public ResponseEntity<String> queryAttrValue(@RequestParam(value = "specCd") String specCd,
+                                                 @RequestParam(value = "page", required = false) int page,
+                                                 @RequestParam(value = "row", required = false) int row,
+                                                 @RequestParam(value = "value", required = false) String value,
+                                                 @RequestParam(value = "valueShow", required = false) String valueShow,
+                                                 @RequestParam(value = "valueName", required = false) String valueName
+    ) {
         AttrValueDto attrValueDto = new AttrValueDto();
         attrValueDto.setSpecCd(specCd);
+        attrValueDto.setPage(page);
+        attrValueDto.setRow(row);
+        attrValueDto.setValue(value);
+        attrValueDto.setValueName(valueName);
+        attrValueDto.setValueShow(valueShow);
         return getAttrValueBMOImpl.get(attrValueDto);
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0