From b64211f3002ec0f620d3e9bbd70f5d5991a72b59 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期二, 30 一月 2024 10:43:06 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReworkController.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReworkController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReworkController.java
new file mode 100644
index 0000000..f7a4d0d
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReworkController.java
@@ -0,0 +1,25 @@
+package com.example.erp.controller.pp;
+
+import com.example.erp.common.Result;
+import com.example.erp.service.pp.ReworkService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/rework")
+public class ReworkController {
+
+    @Autowired
+    ReworkService reworkService;
+
+    @PostMapping("/query/{pageNum}/{pageSize}/{startTime}/{endTime}")
+    public Result queryRework(@PathVariable Integer pageNum, @PathVariable Integer pageSize,
+                              @PathVariable String startTime,@PathVariable String endTime
+            ){
+
+        return Result.seccess(reworkService.queryRework(pageNum,pageSize,startTime,endTime,null));
+    }
+}

--
Gitblit v1.8.0