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