parent
91f52699d4
commit
2ab3f6c70e
|
@ -301,6 +301,7 @@ public class IdentificationPartsController extends BaseController {
|
||||||
}else{
|
}else{
|
||||||
errInfo = "fail";
|
errInfo = "fail";
|
||||||
}
|
}
|
||||||
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
map.put("result", errInfo); //返回结果
|
map.put("result", errInfo); //返回结果
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,6 +187,7 @@ public class PromiseController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/delete")
|
@RequestMapping(value = "/delete")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object delete() throws Exception {
|
public Object delete() throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -206,6 +207,7 @@ public class PromiseController extends BaseController {
|
||||||
} else {
|
} else {
|
||||||
promiseService.delete(pd); // 删除
|
promiseService.delete(pd); // 删除
|
||||||
}
|
}
|
||||||
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
@ -294,6 +294,7 @@ public class RiskUnitController extends BaseController {
|
||||||
}else{
|
}else{
|
||||||
errInfo = "fail";
|
errInfo = "fail";
|
||||||
}
|
}
|
||||||
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
map.put("result", errInfo); //返回结果
|
map.put("result", errInfo); //返回结果
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,6 +181,7 @@ public class RiskWarningController extends BaseController {
|
||||||
@RequestMapping(value="/deleteAll")
|
@RequestMapping(value="/deleteAll")
|
||||||
@RequiresPermissions("riskwarning:del")
|
@RequiresPermissions("riskwarning:del")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object deleteAll() throws Exception{
|
public Object deleteAll() throws Exception{
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -194,6 +195,7 @@ public class RiskWarningController extends BaseController {
|
||||||
}else{
|
}else{
|
||||||
errInfo = "fail";
|
errInfo = "fail";
|
||||||
}
|
}
|
||||||
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
map.put("result", errInfo); //返回结果
|
map.put("result", errInfo); //返回结果
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue