From 2ab3f6c70e9dc80d2003a69ca67240e44a775603 Mon Sep 17 00:00:00 2001 From: liulixin Date: Thu, 11 Jan 2024 16:38:56 +0800 Subject: [PATCH] =?UTF-8?q?dockData=20@DockAnnotation=20=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcloud/controller/bus/IdentificationPartsController.java | 1 + src/main/java/com/zcloud/controller/bus/PromiseController.java | 2 ++ src/main/java/com/zcloud/controller/bus/RiskUnitController.java | 1 + .../java/com/zcloud/controller/bus/RiskWarningController.java | 2 ++ 4 files changed, 6 insertions(+) diff --git a/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java b/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java index 56747cf2..01596b92 100644 --- a/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java +++ b/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java @@ -301,6 +301,7 @@ public class IdentificationPartsController extends BaseController { }else{ errInfo = "fail"; } + map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); //返回结果 return map; } diff --git a/src/main/java/com/zcloud/controller/bus/PromiseController.java b/src/main/java/com/zcloud/controller/bus/PromiseController.java index 0cc23ccb..acee005c 100644 --- a/src/main/java/com/zcloud/controller/bus/PromiseController.java +++ b/src/main/java/com/zcloud/controller/bus/PromiseController.java @@ -187,6 +187,7 @@ public class PromiseController extends BaseController { */ @RequestMapping(value = "/delete") @ResponseBody + @DockAnnotation public Object delete() throws Exception { Map map = new HashMap(); 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; } diff --git a/src/main/java/com/zcloud/controller/bus/RiskUnitController.java b/src/main/java/com/zcloud/controller/bus/RiskUnitController.java index be169677..8ee60b3a 100644 --- a/src/main/java/com/zcloud/controller/bus/RiskUnitController.java +++ b/src/main/java/com/zcloud/controller/bus/RiskUnitController.java @@ -294,6 +294,7 @@ public class RiskUnitController extends BaseController { }else{ errInfo = "fail"; } + map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); //返回结果 return map; } diff --git a/src/main/java/com/zcloud/controller/bus/RiskWarningController.java b/src/main/java/com/zcloud/controller/bus/RiskWarningController.java index cc666094..03794ac7 100644 --- a/src/main/java/com/zcloud/controller/bus/RiskWarningController.java +++ b/src/main/java/com/zcloud/controller/bus/RiskWarningController.java @@ -181,6 +181,7 @@ public class RiskWarningController extends BaseController { @RequestMapping(value="/deleteAll") @RequiresPermissions("riskwarning:del") @ResponseBody + @DockAnnotation public Object deleteAll() throws Exception{ Map map = new HashMap(); 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; }