parent
91f52699d4
commit
2ab3f6c70e
|
@ -301,6 +301,7 @@ public class IdentificationPartsController extends BaseController {
|
|||
}else{
|
||||
errInfo = "fail";
|
||||
}
|
||||
map.put("dockData", JSON.toJSONString(pd));
|
||||
map.put("result", errInfo); //返回结果
|
||||
return map;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -294,6 +294,7 @@ public class RiskUnitController extends BaseController {
|
|||
}else{
|
||||
errInfo = "fail";
|
||||
}
|
||||
map.put("dockData", JSON.toJSONString(pd));
|
||||
map.put("result", errInfo); //返回结果
|
||||
return map;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue