Merge remote-tracking branch 'origin/b_lms' into master_merge

This commit is contained in:
2024-07-03 13:26:32 +08:00

View File

@@ -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 {