排单管理-余料入库的@PreAuthorize权限串修改

This commit is contained in:
gaoqr
2024-06-27 16:28:02 +08:00
parent 60178a2e3d
commit de423d9b75
2 changed files with 4 additions and 6 deletions
@@ -9,7 +9,6 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Operation;
import javax.validation.constraints.*;
import javax.validation.*;
import javax.servlet.http.*;
import java.util.*;
@@ -40,7 +39,7 @@ public class RemainPlateController {
@PostMapping("/create")
@Operation(summary = "创建生产单余料板表}")
@PreAuthorize("@ss.hasPermission('executor:remain-plate:create')")
@PreAuthorize("@ss.hasPermission('placeorder:remain')")
public CommonResult<Long> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
return success(remainPlateService.createRemainPlate(createReqVO));
}