fix:信号反馈null

This commit is contained in:
zhangzhiqiang
2023-02-06 20:55:39 +08:00
parent 98186e21c8
commit ec683e2395

View File

@@ -614,6 +614,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
//查询该设备对应的输送线点位 //查询该设备对应的输送线点位
JSONObject deliver_jo = WQLObject.getWQLObject("st_ivt_deliverypointivt").query("point_code = '"+device_code+"'").uniqueResult(0); JSONObject deliver_jo = WQLObject.getWQLObject("st_ivt_deliverypointivt").query("point_code = '"+device_code+"'").uniqueResult(0);
if (deliver_jo != null){
String qzzno = deliver_jo.getString("qzzno"); String qzzno = deliver_jo.getString("qzzno");
if (ObjectUtil.isNotEmpty(deliver_jo)){ if (ObjectUtil.isNotEmpty(deliver_jo)){
deliver_jo.put("point_status","01"); deliver_jo.put("point_status","01");
@@ -648,6 +649,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
} }
} }
} }
}
JSONObject result = new JSONObject(); JSONObject result = new JSONObject();
result.put("status", HttpStatus.OK.value()); result.put("status", HttpStatus.OK.value());
result.put("message", "反馈成功!"); result.put("message", "反馈成功!");