@DockAnnotation
追加
pull/14/head
liulixin 2024-01-11 16:38:56 +08:00
parent 91f52699d4
commit 2ab3f6c70e
4 changed files with 6 additions and 0 deletions

View File

@ -301,6 +301,7 @@ public class IdentificationPartsController extends BaseController {
}else{
errInfo = "fail";
}
map.put("dockData", JSON.toJSONString(pd));
map.put("result", errInfo); //返回结果
return map;
}

View File

@ -187,6 +187,7 @@ public class PromiseController extends BaseController {
*/
@RequestMapping(value = "/delete")
@ResponseBody
@DockAnnotation
public Object delete() throws Exception {
Map<String, Object> map = new HashMap<String, Object>();
String errInfo = "success";
@ -206,6 +207,7 @@ public class PromiseController extends BaseController {
} else {
promiseService.delete(pd); // 删除
}
map.put("dockData", JSON.toJSONString(pd));
map.put("result", errInfo);
return map;
}

View File

@ -294,6 +294,7 @@ public class RiskUnitController extends BaseController {
}else{
errInfo = "fail";
}
map.put("dockData", JSON.toJSONString(pd));
map.put("result", errInfo); //返回结果
return map;
}

View File

@ -181,6 +181,7 @@ public class RiskWarningController extends BaseController {
@RequestMapping(value="/deleteAll")
@RequiresPermissions("riskwarning:del")
@ResponseBody
@DockAnnotation
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
@ -194,6 +195,7 @@ public class RiskWarningController extends BaseController {
}else{
errInfo = "fail";
}
map.put("dockData", JSON.toJSONString(pd));
map.put("result", errInfo); //返回结果
return map;
}