提交
This commit is contained in:
@@ -83,7 +83,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
jsonObject.put("group_id", group_id);
|
jsonObject.put("group_id", group_id);
|
||||||
//假如是半托缓存的几个位置,强制去包装
|
//假如是半托缓存的几个位置,强制去包装
|
||||||
String area_type = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0).getString("area_type");
|
String area_type = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0).getString("area_type");
|
||||||
if (StrUtil.equals(area_type, AreaEnum.MTPQ.getCode())) {
|
if (StrUtil.equals(area_type, AreaEnum.BTHCQ.getCode())) {
|
||||||
fmjToPackIngTask.createTask((JSONObject) JSON.toJSON(jsonObject));
|
fmjToPackIngTask.createTask((JSONObject) JSON.toJSON(jsonObject));
|
||||||
//生成到包装位的任务时,下发托盘类型给RGV
|
//生成到包装位的任务时,下发托盘类型给RGV
|
||||||
String point_id = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0).getString("point_id");
|
String point_id = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0).getString("point_id");
|
||||||
@@ -98,6 +98,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
jsonObject1.put("value", vehicle_type);
|
jsonObject1.put("value", vehicle_type);
|
||||||
array.add(jsonObject1);
|
array.add(jsonObject1);
|
||||||
wmsToAcsServiceImpl.action(array);
|
wmsToAcsServiceImpl.action(array);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (StrUtil.isEmpty(is_full)) {
|
if (StrUtil.isEmpty(is_full)) {
|
||||||
throw new BadRequestException("托盘是否满托不能为空!");
|
throw new BadRequestException("托盘是否满托不能为空!");
|
||||||
|
|||||||
Reference in New Issue
Block a user