This commit is contained in:
qinx
2022-12-29 16:33:40 +08:00
parent 444f841d9e
commit b64c82398d

View File

@@ -83,7 +83,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
jsonObject.put("group_id", group_id);
//假如是半托缓存的几个位置,强制去包装
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));
//生成到包装位的任务时下发托盘类型给RGV
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);
array.add(jsonObject1);
wmsToAcsServiceImpl.action(array);
break;
}
if (StrUtil.isEmpty(is_full)) {
throw new BadRequestException("托盘是否满托不能为空!");