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); 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 +