From 4dc8b9e20b3f902862711268092fa906569b1375 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Wed, 24 Jul 2024 09:37:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=8E=92=E5=8D=95=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=9F=E4=BA=A7-=E5=88=A0=E9=99=A4=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 551b09108..a87b1adeb 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 @@ -58,7 +58,7 @@ public class PlateController { @DeleteMapping("/delete") @Operation(summary = "删除生产单板件") @Parameter(name = "id", description = "编号", required = true) - @PreAuthorize("@ss.hasPermission('executor:plate:delete')") + @PreAuthorize("@ss.hasAnyPermissions('executor:plate:delete','placeorder:optimize')") public CommonResult deletePlate(@RequestParam("id") Long id) { plateService.deletePlate(id); return success(true); From 89cf91fc07d4ec95a724aad00383582691dad2f0 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Wed, 24 Jul 2024 09:51:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=EF=BC=9Areport-biz=E5=A2=9E=E5=8A=A0plugin?= =?UTF-8?q?=E9=85=8D=E7=BD=AEincludeSystemScope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cf-module-report/cf-module-report-biz/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cf-module-report/cf-module-report-biz/pom.xml b/cf-module-report/cf-module-report-biz/pom.xml index e52949f46..2ecedbb0a 100644 --- a/cf-module-report/cf-module-report-biz/pom.xml +++ b/cf-module-report/cf-module-report-biz/pom.xml @@ -169,6 +169,9 @@ org.springframework.boot spring-boot-maven-plugin ${spring.boot.version} + + true +