From ea8dd8e1a699ac5dc58e510e231c0ecb56dc4116 Mon Sep 17 00:00:00 2001 From: liulixin Date: Thu, 1 Feb 2024 10:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BE=A8=E8=AF=86=E9=83=A8?= =?UTF-8?q?=E4=BD=8D=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/bus/IdentificationPartsController.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java b/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java index 1e3c78c7..d718c8f5 100644 --- a/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java +++ b/src/main/java/com/zcloud/controller/bus/IdentificationPartsController.java @@ -278,7 +278,7 @@ public class IdentificationPartsController extends BaseController { @DockAnnotation public Object deleteAll() throws Exception{ Map map = new HashMap(); - String errInfo = "success"; + String errInfo = "fail"; PageData pd = new PageData(); pd = this.getPageData(); String DATA_IDS = pd.getString("DATA_IDS"); @@ -295,11 +295,9 @@ public class IdentificationPartsController extends BaseController { pd.put("OPERATOR", Jurisdiction.getUsername()); //修改人 pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间 identificationpartsService.delete(pd); + errInfo = "success"; } // identificationpartsService.deleteAll(ArrayDATA_IDS); - errInfo = "success"; - }else{ - errInfo = "fail"; } pd.put("DATA_IDS",DATA_IDS); map.put("dockData", JSON.toJSONString(pd));