|
|
@@ -141,6 +141,13 @@ public class WaybillManagementService {
|
|
|
}
|
|
|
}
|
|
|
wayBillDetailDTO.setCheckFirmName(info.getCheckFirmName());
|
|
|
+ // 运输量单位
|
|
|
+ wayBillDetailDTO.setUnit(info.getUnit() == null ? null : info.getUnit());
|
|
|
+ if(info.getUnit() != null) {
|
|
|
+ Map<String, SysDictResDto> unitType = remoteSystemService.queryDictMapByType(DictTypeEnum.UNIT_TYPE.getType());
|
|
|
+ SysDictResDto sysDict = unitType.get(info.getUnit());
|
|
|
+ wayBillDetailDTO.setUnitLabel(sysDict.getLabel());
|
|
|
+ }
|
|
|
// 派车人信息
|
|
|
UserCacheResDto createUser = remoteSystemService.queryUserCacheById(info.getCreateBy());
|
|
|
if (!ObjectUtils.isEmpty(createUser)) {
|
|
|
@@ -440,7 +447,13 @@ public class WaybillManagementService {
|
|
|
statusVOS2.add(temp);
|
|
|
});
|
|
|
waybillBoardListVO.setTracks(statusVOS2);
|
|
|
-
|
|
|
+ // 运单量单位
|
|
|
+ waybillBoardListVO.setUnit(sckwWaybillOrder.getUnit());
|
|
|
+ if(sckwWaybillOrder.getUnit() != null) {
|
|
|
+ Map<String, SysDictResDto> unitType = remoteSystemService.queryDictMapByType(DictTypeEnum.UNIT_TYPE.getType());
|
|
|
+ SysDictResDto sysDict = unitType.get(sckwWaybillOrder.getUnit());
|
|
|
+ waybillBoardListVO.setUnitLabel(sysDict.getLabel());
|
|
|
+ }
|
|
|
// 运单进度
|
|
|
List<KwtWaybillOrderTrack> kwtWaybillOrderTracks = kwtWaybillOrderTrackMapper
|
|
|
.selectList(new LambdaQueryWrapper<KwtWaybillOrderTrack>()
|