From 8fcab674e4781dafc9c4b9d2973ced5f952726f3 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 25 十一月 2021 09:15:08 +0800
Subject: [PATCH] 优化代码

---
 service-common/src/main/java/com/java110/common/api/AttrSpecApi.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/service-common/src/main/java/com/java110/common/api/AttrSpecApi.java b/service-common/src/main/java/com/java110/common/api/AttrSpecApi.java
old mode 100644
new mode 100755
index 877eac7..ed106ed
--- a/service-common/src/main/java/com/java110/common/api/AttrSpecApi.java
+++ b/service-common/src/main/java/com/java110/common/api/AttrSpecApi.java
@@ -113,9 +113,19 @@
      * @path /app/attrSpec/queryAttrSpec
      */
     @RequestMapping(value = "/queryAttrSpec", method = RequestMethod.GET)
-    public ResponseEntity<String> queryAttrSpec(@RequestParam(value = "tableName",required = false) String tableName) {
+    public ResponseEntity<String> queryAttrSpec(@RequestParam(value = "tableName", required = false) String tableName,
+                                                @RequestParam(value = "specCd", required = false) String specCd,
+                                                @RequestParam(value = "specName", required = false) String specName,
+                                                @RequestParam(value = "page", required = false) int page,
+                                                @RequestParam(value = "row", required = false) int row
+
+    ) {
         AttrSpecDto attrSpecDto = new AttrSpecDto();
         attrSpecDto.setTableName(tableName);
+        attrSpecDto.setPage(page);
+        attrSpecDto.setRow(row);
+        attrSpecDto.setSpecCd(specCd);
+        attrSpecDto.setSpecName(specName);
         return getAttrSpecBMOImpl.get(attrSpecDto);
     }
 }

--
Gitblit v1.8.0