fix: 访问气胀轴库是否有轴
This commit is contained in:
@@ -308,7 +308,9 @@ public class AutoCallAirShaftTask {
|
||||
device.put("device_code", shafttubeivt.getPoint_code());
|
||||
array.add(device);
|
||||
JSONObject pointStatus = wmsToAcsService.getPointStatus(array);
|
||||
if (pointStatus.getInteger("qty") == 0) {
|
||||
JSONArray data = pointStatus.getJSONArray("data");
|
||||
JSONObject jsonObject = data.getJSONObject(0);
|
||||
if (jsonObject.getInteger("qty") == 0) {
|
||||
// 没有货
|
||||
toCreatShaftCacheTask(qzzSize, location, empty);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user