|
|
|
@ -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); |
|
|
|
|