|
|
@@ -893,6 +893,13 @@ public class AcceptCarriageOrderService {
|
|
|
//联查数据
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
for (SubcontractConsignmentVO subcontractConsignmentVO : list) {
|
|
|
+ //关联父级承运单据号
|
|
|
+ if (subcontractConsignmentVO.getPid() != null) {
|
|
|
+ KwtLogisticsOrder kwtLogisticsOrder = logisticsOrderMapper.selectOne(new LambdaQueryWrapper<KwtLogisticsOrder>().eq(KwtLogisticsOrder::getId, subcontractConsignmentVO.getPid()));
|
|
|
+ if (kwtLogisticsOrder != null) {
|
|
|
+ subcontractConsignmentVO.setCarrierOrderNo(kwtLogisticsOrder.getLOrderNo());
|
|
|
+ }
|
|
|
+ }
|
|
|
subcontractConsignmentVO.setStatusLabel(LogisticsOrderEnum.getDestination(subcontractConsignmentVO.getStatus()));
|
|
|
if (subcontractConsignmentVO.getPriceType() != null) {
|
|
|
subcontractConsignmentVO.setPriceTypeLabel(priceDictData == null ? null : priceDictData.get(subcontractConsignmentVO.getPriceType()));
|