diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java index 013d888..f2cb1d2 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java @@ -828,7 +828,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { vehicleType, GroupBindMaterialStatusEnum.BOUND.getValue()); String extData = baseVehiclematerialgroup.getExt_data(); PalletizeDto palletizeDto = new PalletizeDto(); - if (extData == null || extData.equals("null")) { + if (extData != null && !extData.equals("null")) { // 转成实体 palletizeDto = CommonUtils.toJavaObject(extData, PalletizeDto.class); } diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/fj/FJMKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/fj/FJMKTask.java index 7da294a..4ed3a0f 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/fj/FJMKTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/fj/FJMKTask.java @@ -151,10 +151,6 @@ public class FJMKTask extends AbstractTask { .collect(Collectors.toList()); JSONObject jsonObject = JSONObject.parseObject(task.getRequest_param()); String startPoint = task.getPoint_code1(); - // 获取起点 回写载具编码 - SchBasePoint startPointObj = pointService.getById(startPoint); - // 起点的木托盘编码 - task.setVehicle_code(startPointObj.getVehicle_code()); // 找终点 /** 包装位 */ SchBasePoint packagePoint = findNextPoint(nextRegionStr, jsonObject); @@ -380,7 +376,6 @@ public class FJMKTask extends AbstractTask { fjcPointObj.setPoint_status(PointStatusEnum.EMPTY_VEHICLE.getCode()); fjcPointObj.setVehicle_qty(1); fjcPointObj.setVehicle_type(taskObj.getVehicle_type()); - fjcPointObj.setVehicle_code(taskObj.getVehicle_code2()); // 拿过来的载具编码 PointUtils.setUpdateByType(fjcPointObj, taskFinishedType); pointService.updateById(fjcPointObj); }