Selaa lähdekoodia

新增sop快捷搜索

wangliang 1 vuosi sitten
vanhempi
commit
5d9b6cedcc

+ 2 - 1
sop-api/src/main/java/com/qmth/sop/server/api/TBSopInfoController.java

@@ -112,7 +112,8 @@ public class TBSopInfoController {
     @ApiOperation(value = "sop人员配置")
     @RequestMapping(value = "/allocation", method = RequestMethod.POST)
     @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()) {
             return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
         }