fix:空托盘入库修改
This commit is contained in:
@@ -77,7 +77,7 @@ public class VehicleTwoServiceImpl implements VehicleTwoService {
|
||||
JSONObject data = device_data.getJSONArray("data").getJSONObject(0);
|
||||
|
||||
// 判断是否有货 且托盘类型相同、数量小于5
|
||||
if (vehicle_type.equals(data.getString("container_type")) && data.getIntValue("qty") < 5){
|
||||
if (vehicle_type.equals(data.getString("container_type")) && data.getIntValue("qty") < 5 || data.getIntValue("qty") == 0){
|
||||
// 生成入库叠盘机输送任务
|
||||
JSONObject jsonTaskParam = new JSONObject();
|
||||
jsonTaskParam.put("task_type", "010715");
|
||||
|
||||
Reference in New Issue
Block a user