mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 13:42:07 +08:00
结束开料接口参数修改
This commit is contained in:
+2
-2
@@ -64,10 +64,10 @@ public class OptimizePlanController {
|
|||||||
return CommonResult.success(optimizePlanService.commit(planId));
|
return CommonResult.success(optimizePlanService.commit(planId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("/endCutting")
|
@GetMapping("/endCutting")
|
||||||
@Operation(summary = "结束开料")
|
@Operation(summary = "结束开料")
|
||||||
@PreAuthorize("@ss.hasPermission('executor:optimize-plate:create')")
|
@PreAuthorize("@ss.hasPermission('executor:optimize-plate:create')")
|
||||||
public CommonResult<Boolean> endCutting(@Valid @RequestBody @NotNull(message = "排单id不能空") Long planId) {
|
public CommonResult<Boolean> endCutting(@RequestParam @Valid @NotNull(message = "排单id不能空") Long planId) {
|
||||||
return success(optimizePlanService.endCutting(planId));
|
return success(optimizePlanService.endCutting(planId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user