From 23c6db6db89c6021bb44d6cd2511789cd82e73af Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 13 六月 2024 16:13:13 +0800
Subject: [PATCH] 订单明细中加入字段拱高

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
index 3f5f84d..46ab80d 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
@@ -1,5 +1,6 @@
 package com.example.erp.controller.pp;
 
+import cn.dev33.satoken.annotation.SaCheckPermission;
 import com.example.erp.common.Constants;
 import com.example.erp.common.Result;
 import com.example.erp.entity.pp.ProductionScheduling;
@@ -22,6 +23,7 @@
 
     //鏌ヨ绗竴娆℃帓鐗堟暟鎹�
     @ApiOperation("鍔犺浇鏃舵煡璇㈡帓鐗堟暟鎹帴鍙�")
+    @SaCheckPermission("ProductionScheduling.search")
     @PostMapping  ("/selectLastScheduling/{selectTime1}/{selectTime2}/{processes}/{orderId}")
     public Result selectLastScheduling(
             @PathVariable String selectTime1,
@@ -34,20 +36,25 @@
     }
     //鐐瑰嚮鏌ヨ鎺掔増鏁版嵁
     @ApiOperation("鐐瑰嚮鏌ヨ鎺掔増鏁版嵁鎺ュ彛")
-    @PostMapping  ("/selectScheduling/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
+    @SaCheckPermission("ProductionScheduling.search")
+    @PostMapping  ("/selectScheduling/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
     public Result selectScheduling(
+            @PathVariable Integer pageNum,
+            @PathVariable Integer pageSize,
             @PathVariable String selectTime1,
             @PathVariable String selectTime2,
             @PathVariable String orderId,
             @PathVariable String processes,
             @PathVariable Integer state,
             @RequestBody ProductionScheduling productionScheduling){
-        return Result.seccess(productionSchedulingService.selectSchedulingSv(selectTime1,selectTime2,orderId,processes,state,productionScheduling));
+
+        return Result.seccess(productionSchedulingService.selectSchedulingSv(pageNum, pageSize,selectTime1,selectTime2,orderId,processes,state,productionScheduling));
 
     }
 
     //鐐瑰嚮鏌ヨ鎺掔増鏁版嵁锛堝甫璁㈠崟鍙锋煡璇級
     @ApiOperation("鏍规嵁鏉′欢鏌ヨ鎺掔増鏁版嵁鎺ュ彛")
+    @SaCheckPermission("ProductionScheduling.search")
     @PostMapping  ("/selectSchedulingNot/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}")
     public Result selectSchedulingNot(
             @PathVariable String selectTime1,
@@ -62,6 +69,7 @@
 
     //娣诲姞鎺掍骇鏁版嵁
     @ApiOperation("娣诲姞鎺掍骇鏁版嵁鎺ュ彛")
+    @SaCheckPermission("ProductionScheduling.add")
     @PostMapping("/addScheduling")
     public Result addScheduling( @RequestBody Map<String,Object>  object){
 
@@ -75,6 +83,7 @@
 
     //鍒犻櫎鎺掍骇鏁版嵁
     @ApiOperation("鍒犻櫎鎺掍骇鏁版嵁鎺ュ彛")
+    @SaCheckPermission("ProductionScheduling.delete")
     @PostMapping("/deleteScheduling")
     public Result deleteScheduling( @RequestBody Map<String,Object>  object) throws Exception{
 
@@ -87,6 +96,7 @@
     }
 
     @ApiOperation("鎺掔増瀹℃牳鎺ュ彛")
+    @SaCheckPermission("ProductionScheduling.review")
     @PostMapping("/examineScheduling")
     public Result examineScheduling( @RequestBody Map<String,Object>  object){
 

--
Gitblit v1.8.0