From 43ded7d2ae74356ff8a53a7805d20b7dbfa6a729 Mon Sep 17 00:00:00 2001
From: lxw <810412026@qq.com>
Date: 星期三, 17 八月 2022 16:05:04 +0800
Subject: [PATCH] component/getMaterialLimit    查询所有物料(分页,模糊查询)

---
 src/main/java/com/whyc/controller/ComponentController.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/whyc/controller/ComponentController.java b/src/main/java/com/whyc/controller/ComponentController.java
index cdefcee..d021377 100644
--- a/src/main/java/com/whyc/controller/ComponentController.java
+++ b/src/main/java/com/whyc/controller/ComponentController.java
@@ -10,7 +10,7 @@
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
-@Api(tags = "鏁h浠剁鐞�")
+@Api(tags = "鐗╂枡绠$悊")
 @RestController
 @RequestMapping("component")
 public class ComponentController {
@@ -32,4 +32,10 @@
     public Response deleteComponent(@RequestParam int id){
         return service.deleteComponent(id);
     }
+
+    @ApiOperation(value = "鏌ヨ鎵�鏈夌墿鏂�(鍒嗛〉锛屾ā绯婃煡璇�)",notes = "2.0浣跨敤")
+    @GetMapping("getMaterialLimit")
+    public Response getMaterialLimit(@RequestParam(required = false) String subCode,@RequestParam(required = false) String subName, @RequestParam(required = false) String subModel,@RequestParam int pageCurr, @RequestParam int pageSize){
+        return service.getMaterialLimit(subCode,subName,subModel,pageCurr,pageSize);
+    }
 }

--
Gitblit v1.9.1