From 186e281e91766de364892355a7d2fe5243fa5a09 Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Fri, 9 Jun 2023 10:09:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/modules/common/utils/PointUpdateUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lms/nladmin-system/src/main/java/org/nl/modules/common/utils/PointUpdateUtil.java b/lms/nladmin-system/src/main/java/org/nl/modules/common/utils/PointUpdateUtil.java index e6735ae..eab7ed0 100644 --- a/lms/nladmin-system/src/main/java/org/nl/modules/common/utils/PointUpdateUtil.java +++ b/lms/nladmin-system/src/main/java/org/nl/modules/common/utils/PointUpdateUtil.java @@ -7,7 +7,7 @@ import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; -import org.nl.wms.sch.manage.DeviceStatusEnum; +import org.nl.wms.cockpit.service.enums.DeviceStatusEnum; import org.nl.wms.sch.manage.PointEnum; /** @@ -99,9 +99,10 @@ public class PointUpdateUtil { /** * 查找设备状态: 单个 + * * @return */ - public static String getDeviceStatus(String deviceCode) { + public static Integer getDeviceStatus(String deviceCode) { WmsToAcsServiceImpl wmsToAcsService = new WmsToAcsServiceImpl(); // 封装 JSONArray devices = new JSONArray();