Browse Source

1.干线-暂存单导入,装车数据无回显bug修复

master
zhenghaoyu 9 months ago
parent
commit
74efb83039
  1. 3
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java

3
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mq/AdvanceToLoadListener.java

@ -87,13 +87,16 @@ public class AdvanceToLoadListener {
if(r.getCode() == 200){
carsLoadScanEntity.setFromWarehouseId(warehouseId);
carsLoadScanEntity.setOrderCode(orderCode);
carsLoadScanEntity.setIsData(1);
Date createTime = carsLoadScanEntity.getCreateTime();
Long createUser = carsLoadScanEntity.getCreateUser();
Long createDept = carsLoadScanEntity.getCreateDept();
String tenantId = carsLoadScanEntity.getTenantId();
carsLoadScanService.updateById(carsLoadScanEntity);
loadIds.add(carsLoadScanEntity.getLoadId());
DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId);
parcelListEntity.setWarehouseEntryTimeEnd(CommonUtil.addDate(createTime,-60));
parcelListEntity.setTenantId(tenantId);
parcelListEntity.setUpdateUser(createUser);
parcelListEntity.setCreateUser(createUser);
parcelListEntity.setCreateDept(createDept);

Loading…
Cancel
Save