fix: 修复点位工具
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user