From c744a66348d03f3f7c7ac0e528e748bc3d7bc6d5 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Tue, 23 Jul 2024 14:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=9A=E6=8E=92=E5=8D=95=E4=BC=98=E5=8C=96=E7=94=9F?= =?UTF-8?q?=E4=BA=A7-=E6=B7=BB=E5=8A=A0=E7=A9=BA=E5=B0=8F=E6=9D=BF?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=8E=A5=E5=8F=A3=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E4=BA=A7=E8=8F=9C=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E6=9D=83=E9=99=90=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/executor/controller/admin/plate/PlateController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java index d2a04b35e..551b09108 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/plate/PlateController.java @@ -124,7 +124,7 @@ public class PlateController { @PostMapping("/insertPlate") @Operation(summary = "优化生产创建板材") - @PreAuthorize("@ss.hasPermission('executor:plate:create')") + @PreAuthorize("@ss.hasAnyPermissions('executor:plate:create','placeorder:optimize')") public CommonResult> createNewPlate(@Valid @RequestBody OptimizationSavePlateReqVO reqVO) { return success(plateService.createNewPlate(reqVO)); }