日志管理-系统记录操作类型修改

This commit is contained in:
liuzhaotian
2025-03-05 17:25:12 +08:00
parent 418ac7cc79
commit 5875e360e2
12 changed files with 72 additions and 37 deletions
@@ -41,7 +41,7 @@ public class RemainPlateController {
private RemainPlateService remainPlateService;
@PostMapping("/create")
@Operation(summary = "创建生产单余料板表(单个)")
@Operation(summary = "添加余料(单个")
@PreAuthorize("@ss.hasAnyPermissions('manage:remain-plate:create','placeorder:optimize')")
public CommonResult<Boolean> createRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO createReqVO) {
return success(remainPlateService.createRemainPlate(createReqVO));
@@ -55,7 +55,7 @@ public class RemainPlateController {
}
@PutMapping("/update")
@Operation(summary = "更新生产单余料板表")
@Operation(summary = "余料修改")
@PreAuthorize("@ss.hasPermission('manage:remain-plate:update')")
public CommonResult<Boolean> updateRemainPlate(@Valid @RequestBody RemainPlateSaveReqVO updateReqVO) {
remainPlateService.updateRemainPlate(updateReqVO);
@@ -82,7 +82,7 @@ public class RemainPlateController {
}
@DeleteMapping("/delete")
@Operation(summary = "删除生产单余料板表")
@Operation(summary = "删除余料")
@Parameter(name = "id", description = "编号", required = true)
@PreAuthorize("@ss.hasPermission('manage:remain-plate:delete')")
public CommonResult<Boolean> deleteRemainPlate(@RequestParam("id") Set<Long> ids) {