权限问题修复:排单优化生产-添加空小板调用接口 增加优化生产菜单的权限串

This commit is contained in:
gaoqr
2024-07-23 14:29:47 +08:00
parent 9db35ced9e
commit c744a66348
@@ -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<List<Long>> createNewPlate(@Valid @RequestBody OptimizationSavePlateReqVO reqVO) {
return success(plateService.createNewPlate(reqVO));
}