订单优化
parent
48b79c1386
commit
21b0e93e2a
|
|
@ -252,6 +252,9 @@ public class StoreOrderPageItemVO extends StoreOrderDTO {
|
|||
@ApiModelProperty(value = "平台介入结果")
|
||||
private String platformInvolveResult;
|
||||
|
||||
@ApiModelProperty(value = "平台发货标识")
|
||||
private Boolean shipByPlatformFlag;
|
||||
|
||||
@ApiModelProperty(value = "物流运单号(快递单号)信息集合")
|
||||
private List<ExpressWaybillNoInfoVO> expressWaybillNoInfos;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ public class StoreOrderPageItemDTO extends StoreOrderDTO {
|
|||
|
||||
private String destinationCountyName;
|
||||
|
||||
private Boolean shipByPlatformFlag;
|
||||
|
||||
private List<StoreOrderDetailInfoDTO> orderDetails;
|
||||
|
||||
private List<ExpressWaybillNoInfoDTO> expressWaybillNoInfos;
|
||||
|
|
|
|||
|
|
@ -579,6 +579,7 @@ public class StoreOrderServiceImpl implements IStoreOrderService {
|
|||
order.setOriginCountyName(regionMap.get(order.getOriginCountyCode()));
|
||||
order.setOrderDetails(orderDetailGroup.get(order.getId()));
|
||||
Set<ExpressWaybillNoInfoDTO> expressWaybillNoInfos = new LinkedHashSet<>();
|
||||
boolean shipByPlatformFlag = false;
|
||||
for (StoreOrderDetailInfoDTO detail : order.getOrderDetails()) {
|
||||
//首图
|
||||
detail.setFirstMainPicUrl(mainPicMap.get(detail.getStoreProdId()));
|
||||
|
|
@ -590,8 +591,12 @@ public class StoreOrderServiceImpl implements IStoreOrderService {
|
|||
expressWaybillNoInfos.add(new ExpressWaybillNoInfoDTO(eId, eName, no));
|
||||
}
|
||||
}
|
||||
if (EExpressType.PLATFORM.getValue().equals(detail.getExpressType())) {
|
||||
shipByPlatformFlag = true;
|
||||
}
|
||||
}
|
||||
order.setExpressWaybillNoInfos(new ArrayList<>(expressWaybillNoInfos));
|
||||
order.setShipByPlatformFlag(shipByPlatformFlag);
|
||||
}
|
||||
}
|
||||
return list;
|
||||
|
|
|
|||
Loading…
Reference in New Issue