Browse Source

fix: 修复点位工具

master
李永德 1 year ago
parent
commit
186e281e91
  1. 5
      lms/nladmin-system/src/main/java/org/nl/modules/common/utils/PointUpdateUtil.java

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

Loading…
Cancel
Save