From 7b8cc84950a3caeb8cae5e99a7aa99c1aafa6ac7 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 22 二月 2024 14:18:17 +0800
Subject: [PATCH] 提交分架代码

---
 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