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");