|
|
|
@ -3050,13 +3050,16 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionLoadVO.setVehicleId(distributionLoadscanEntity.getVehicleId()); |
|
|
|
|
distributionLoadVO.setTrainNumber(distributionDeliveryListEntity.getTrainNumber()); |
|
|
|
|
|
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
if(StringUtil.isNotBlank(distributionLoadscanEntity.getVehicleName())){ |
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DistributionReservationEntity byId = distributionReservationService.getById(distributionLoadscanEntity.getReservationId()); |
|
|
|
|
if (!Func.isEmpty(byId)) { |
|
|
|
|
distributionLoadVO.setReservationCode(byId.getReservationCode()); |
|
|
|
@ -3119,17 +3122,17 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionLoadVO.setVehicleName(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
distributionLoadVO.setVehicleId(distributionLoadscanEntity.getVehicleId()); |
|
|
|
|
|
|
|
|
|
//获取装车表的车辆
|
|
|
|
|
if(StringUtil.isBlank(distributionLoadscanEntity.getVehicleName())){ |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
|
|
|
|
|
if(StringUtil.isNotBlank(distributionLoadscanEntity.getVehicleName())){ |
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
distributionLoadVO.setReservationCode(distributionReservationEntity.getReservationCode()); |
|
|
|
|
distributionLoadVO.setTrainNumber(distributionDeliveryListEntity.getTrainNumber()); |
|
|
|
|
distributionLoadVO.setReservationId(distributionReservationEntity.getId()); |
|
|
|
@ -6962,13 +6965,17 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionLoadVO.setReservationCode(byId.getReservationCode()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
if(StringUtil.isNotBlank(distributionLoadscanEntity.getVehicleName())){ |
|
|
|
|
// 获取车辆类型
|
|
|
|
|
BasicCarModelEntity nc = iBasicCarModelClient.getCarModelByCarNumber(distributionLoadscanEntity.getVehicleName()); |
|
|
|
|
if (nc != null) { |
|
|
|
|
distributionLoadVO.setCarType(nc.getVehicleModel()); |
|
|
|
|
distributionLoadVO.setCarTypeId(nc.getId()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nodeFanoutMsg.setMain(distributionLoadVO); |
|
|
|
|
|
|
|
|
|
List<PackageData> data = new ArrayList<>(); |
|
|
|
|