diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/ClerkCheckPushDataQueueHandler.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/ClerkCheckPushDataQueueHandler.java index 8491a8ccb..3bdc8ab10 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/ClerkCheckPushDataQueueHandler.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/ClerkCheckPushDataQueueHandler.java @@ -235,7 +235,15 @@ public class ClerkCheckPushDataQueueHandler { if (ObjectUtils.isNotNull(user)) { assert user != null; signPushDataUnitDTO.setAdministratorsName(user.getName()); - signPushDataUnitDTO.setAdministratorsPhone(user.getPhone()); + if (ObjectUtils.isNotEmpty(user.getPhone())){ + signPushDataUnitDTO.setAdministratorsPhone(user.getPhone()); + }else { + if (ObjectUtils.isNotEmpty(user.getAccount())){ + signPushDataUnitDTO.setAdministratorsPhone(user.getAccount()); + }else { + log.info("用户无电话号码且账号信息为空>>用户名称:{}",user.getName()); + } + } } } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java index 3640f3a32..a57e6d52d 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java @@ -2058,6 +2058,14 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImplupdate().lambda() + .eq(DistributionParcelListEntity::getOrderPackageCode, disStockListDetailEntity.getStockPackageCode()) + .eq(DistributionParcelListEntity::getWarehouseId, myCurrentWarehouse.getId()) + .eq(DistributionParcelListEntity::getMaterialCode, disStockListDetailEntity.getSku()) + ); + log.info(">>>>>>>>>>>>>>>>>>>装车修改库存品包件>装车包件码:{},",disStockListDetailEntity.getStockPackageCode()); DistributionLoadscaninvnEntity distributionLoadscaninvnEntity = getDistributionLoadscaninvnEntity(distrilbutionloadingscanDTO, distributionDeliverySelfEntity, disStockListDetailEntities); packageLockIds.add(distributionLoadscaninvnEntity.getInventoryPackageId()); distributionLoadscaninvnService.save(distributionLoadscaninvnEntity); diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java index 37991fc78..5ce8d8385 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java @@ -603,21 +603,23 @@ public class TaskQuestServiceImpl extends BaseServiceImpl list = taskQuest.getList(); -// for (TaskQuestChildEntity taskQuestChildEntity : list) { -// taskQuestChildEntity.setWarehouseId(id); -// taskQuestChildEntity.setQuestId(taskQuest.getId()); -// -// } -// taskQuestChildService.saveBatch(list); -// //添加包件信息 -// List collect = list.stream().map(TaskQuestChildEntity::getRefId).collect(Collectors.toList()); -// addQuestDetail(myCurrentWarehouse.getId(), collect, questNum, taskQuest.getId()); - } else { - addQuestDetail(myCurrentWarehouse.getId(), null, questNum, taskQuest.getId()); - } +// 存入子表 todo 暂时不要商场 +// if (!taskQuest.getList().isEmpty()) { +//// List list = taskQuest.getList(); +//// for (TaskQuestChildEntity taskQuestChildEntity : list) { +//// taskQuestChildEntity.setWarehouseId(id); +//// taskQuestChildEntity.setQuestId(taskQuest.getId()); +//// +//// } +//// taskQuestChildService.saveBatch(list); +//// //添加包件信息 +//// List collect = list.stream().map(TaskQuestChildEntity::getRefId).collect(Collectors.toList()); +//// addQuestDetail(myCurrentWarehouse.getId(), collect, questNum, taskQuest.getId()); +// } else { +// addQuestDetail(myCurrentWarehouse.getId(), null, questNum, taskQuest.getId()); +// } + + addQuestDetail(myCurrentWarehouse.getId(), null, questNum, taskQuest.getId()); return save ? R.success("添加成功") : R.fail("添加失败"); }