From 1b86547ddc47a96e86eb376d0a381814ad621fd0 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 22 二月 2024 08:13:31 +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