|
@@ -112,7 +112,8 @@ public class TBSopInfoController {
|
|
@ApiOperation(value = "sop人员配置")
|
|
@ApiOperation(value = "sop人员配置")
|
|
@RequestMapping(value = "/allocation", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/allocation", method = RequestMethod.POST)
|
|
@ApiResponses({ @ApiResponse(code = 200, message = "返回信息", response = Object.class) })
|
|
@ApiResponses({ @ApiResponse(code = 200, message = "返回信息", response = Object.class) })
|
|
- public Result allocation(@Valid @RequestBody SopAllocationParam sopAllocationParam, BindingResult bindingResult) {
|
|
|
|
|
|
+ public Result allocation(@Valid @RequestBody SopAllocationParam sopAllocationParam, BindingResult bindingResult)
|
|
|
|
+ throws InterruptedException {
|
|
if (bindingResult.hasErrors()) {
|
|
if (bindingResult.hasErrors()) {
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
}
|
|
}
|