From 1c5baf87edb89e72d563203b950d2cd05779b029 Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Fri, 24 Sep 2021 10:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/integration/service/impl/InterfaceServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/src/main/java/com/foreverwin/mesnac/integration/service/impl/InterfaceServiceImpl.java b/integration/src/main/java/com/foreverwin/mesnac/integration/service/impl/InterfaceServiceImpl.java index 4b61f140..da5eb1cd 100644 --- a/integration/src/main/java/com/foreverwin/mesnac/integration/service/impl/InterfaceServiceImpl.java +++ b/integration/src/main/java/com/foreverwin/mesnac/integration/service/impl/InterfaceServiceImpl.java @@ -900,14 +900,14 @@ public class InterfaceServiceImpl implements InterfaceService { String resourceBo = HandleEnum.RESOURCE.getHandle(site, resource); Resrce resourceModel = resrceService.getById(resourceBo); if (resourceModel == null) { - throw BusinessException.build("资源【" +resource+ "】不存在!"); + throw BusinessException.build("设备【" +resource+ "】不存在!"); } String operationBo = HandleEnum.OPERATION.getHandle(site, operation, revision); //查询设备所属类型以及对应工序 List> mapList = resrceService.getResourceOperation(resourceBo); if (mapList == null || mapList.size() <= 0) { - throw BusinessException.build("资源【" +resource+ "】不存在!"); + throw BusinessException.build("设备【" +resource+ "】不存在!"); } Map map = mapList.get(0); String _operationBo = (String) map.get("OPERATION_BO");