From cc8efc81d2d35bed40e47d0a5b0920a4b6f8095f Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 23 十月 2025 11:04:05 +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/ReportingWorkController.java | 56 +++++++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 45 insertions(+), 11 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
index ea96099..4998c9c 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
@@ -14,6 +14,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
+import java.util.List;
import java.util.Map;
import java.sql.Date;
@RestController
@@ -73,24 +74,26 @@
@ApiOperation("鎶ュ伐鏌ヨ鎺ュ彛")
@SaCheckPermission("selectReportingWorks.search")
- @PostMapping ("/selectReportingWork/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{orderId}")
+ @PostMapping ("/selectReportingWork/{pageNum}/{pageSize}/{selectDate}/{orderId}")
public Result selectReportingWork(
@PathVariable Integer pageNum,
@PathVariable Integer pageSize,
- @PathVariable Date selectTime1,
- @PathVariable Date selectTime2,
+ @PathVariable List<String> selectDate,
@PathVariable String orderId,
@RequestBody ReportingWork reportingWork){
- return Result.seccess(reportingWorkService.selectReportingWorkSv(pageNum,pageSize,selectTime1,selectTime2,orderId,reportingWork));
+ return Result.seccess(reportingWorkService.selectReportingWorkSv(pageNum,pageSize,selectDate,orderId,reportingWork));
+
}
@ApiOperation("鍒犻櫎鎶ュ伐鎺ュ彛")
@SaCheckPermission("selectReportingWorks.delete")
@PostMapping("/deleteWork/{reportingWorkId}/{processId}/{thisProcess}/{userId}/{userName}")
- public Result deleteWork(@PathVariable String reportingWorkId,@PathVariable String processId,
- @PathVariable String thisProcess,@PathVariable String userId
- ,@PathVariable String userName){
+ public Result deleteWork(@PathVariable String reportingWorkId,
+ @PathVariable String processId,
+ @PathVariable String thisProcess,
+ @PathVariable String userId
+ ,@PathVariable String userName){
return Result.seccess(reportingWorkService.deleteWorkSv(reportingWorkId,processId,thisProcess,userId,userName));
@@ -98,17 +101,23 @@
@ApiOperation("璐ㄦ瀹℃牳鏌ヨ鎺ュ彛")
@SaCheckPermission("qualityInspectionReview.search")
- @PostMapping ("/selectQualityTesting/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{state}/{processId}")
+ @PostMapping ("/selectQualityTesting/{pageNum}/{pageSize}/{selectDate}/{state}/{processId}")
public Result selectQualityTesting(
@PathVariable Integer pageNum,
@PathVariable Integer pageSize,
- @PathVariable Date selectTime1,
- @PathVariable Date selectTime2,
+ @PathVariable List<String> selectDate,
@PathVariable Integer state,
@PathVariable String processId,
@RequestBody ReportingWork reportingWork){
- return Result.seccess(reportingWorkService.selectQualityTestingSv(pageNum,pageSize,selectTime1,selectTime2,state,processId,reportingWork));
+ return Result.seccess(reportingWorkService.selectQualityTestingSv(pageNum,pageSize,selectDate,state,processId,reportingWork));
+ }
+
+ @ApiOperation("APP璐ㄦ瀹℃牳鏌ヨ鎺ュ彛")
+ @SaCheckPermission("qualityInspectionReview.search")
+ @PostMapping ("qualityReviewSearch")
+ public Result qualityReviewSearch(){
+ return Result.seccess(reportingWorkService.qualityReviewSearchSv());
}
@ApiOperation("璐ㄦ瀹℃牳瀹℃牳")
@@ -169,4 +178,29 @@
return Result.seccess(reportingWorkService.selectShiftQuantitySv(reportingWork));
}
+ @ApiOperation("鎵嬫満鏌ヨ鏈彮缁勬姤宸ヨ褰�")
+ @PostMapping("/selectReportingWorkRecordByPhone")
+ public Result selectReportingWorkRecordByPhone(@RequestBody Map<String,Object> selectPam) {
+ return Result.seccess(reportingWorkService.selectReportingWorkRecordByPhoneSv(selectPam));
+ }
+
+@ApiOperation("鎵嬫満鏌ヨ鏈伐搴忚澶�")
+ @PostMapping("/selectEquipmentByProcess/{process}")
+ public Result selectEquipmentByProcess(@PathVariable String process) {
+ return Result.seccess(reportingWorkService.selectEquipmentByProcessSv(process));
+ }@ApiOperation("鎶ュ伐鍏ュ簱鎺ュ彛")
+ @PostMapping("/saveWorkStorage")
+ public Result saveWorkStorage( @RequestBody Map<String,Object> object){
+ return Result.seccess(reportingWorkService.saveWorkStorage(object));
+
+ }
+
+ @ApiOperation("Mes鎶ュ伐鍩虹鏁版嵁")
+ @PostMapping ("/mesBasicData")
+ public Result mesBasicData() {
+ return Result.seccess(reportingWorkService.mesBasicDataSv());
+ }
+
}
+
+
--
Gitblit v1.8.0