From a1a27eba473c476cade23f003d3ac1f1cc1ac27d Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 01 三月 2024 15:14:50 +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