From a4597462d3116eda1f6b3a5435c607772ba7122f Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Thu, 10 Aug 2023 11:41:09 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E7=AB=99=E7=82=B9=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8A=9F=E8=83=BDbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims/operational/station/service/impl/StationServiceImpl.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java index e660d69..2f778c7 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java @@ -153,10 +153,9 @@ public class StationServiceImpl extends BaseServiceImpl { + if(dataDelete.isSuccess()) { logger.error("hzims-operational:station:removeStation", stationEntity.getCode() + "删除失败,报错信息为:" + dataDelete.getMsg()); - throw new ServiceException("数据平台删除项目失败!"); - }); + } // 删除所属机构 R deptResult = sysClient.getDept(stationEntity.getRefDept()); if (deptResult.isSuccess() && ObjectUtil.isNotEmpty(deptResult.getData())) { @@ -165,8 +164,6 @@ public class StationServiceImpl extends BaseServiceImpl { // 删除站点下集中监控属性配置