mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 21:52:07 +08:00
排单管理-余料入库的@PreAuthorize权限串修改
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ public class RemainPlateController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建生产单余料板表}")
|
@Operation(summary = "创建生产单余料板表}")
|
||||||
@PreAuthorize("@ss.hasPermission('placeorder:remain')")
|
@PreAuthorize("@ss.hasPermission('executor:remain-plate:create')")
|
||||||
public CommonResult<Long> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
|
public CommonResult<Long> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
|
||||||
return success(remainPlateService.createRemainPlate(createReqVO));
|
return success(remainPlateService.createRemainPlate(createReqVO));
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ public class RemainPlateController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建生产单余料板表(单个)")
|
@Operation(summary = "创建生产单余料板表(单个)")
|
||||||
@PreAuthorize("@ss.hasPermission('manage:remain-plate:create')")
|
@PreAuthorize("@ss.hasPermission('placeorder:remain')")
|
||||||
public CommonResult<Long> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
|
public CommonResult<Long> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
|
||||||
return success(remainPlateService.createRemainPlate(createReqVO));
|
return success(remainPlateService.createRemainPlate(createReqVO));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user