贴标申请,仓储转运
This commit is contained in:
@@ -72,6 +72,7 @@ public class LastlegOrderService {
|
||||
"OVERSEAS_CUSTOMS_COMPLETED", "ACTUAL_ARRIVAL_WAITING_UNLOAD", "PICKUP_APPOINTED", "UNLOADED");
|
||||
|
||||
@Resource private LastlegOrderMapper orderMapper;
|
||||
@Resource private com.baiyue.lastleg.returnreceipt.service.ReturnReceiptService returnReceipts;
|
||||
@Resource private LastlegOrderDetailMapper detailMapper;
|
||||
@Resource private LastlegOrderStatusHistoryMapper historyMapper;
|
||||
@Resource private OverseasFeeSourceService feeSources;
|
||||
@@ -364,7 +365,9 @@ public class LastlegOrderService {
|
||||
.map(value -> new LastlegOrderDetailResponse.History(value.getId(), value.getFromStatus(),
|
||||
value.getToStatus(), value.getRemark(), value.getCreatedAt())).toList(), fees, operations.stream()
|
||||
.map(value -> new LastlegOrderDetailResponse.Operation(value.getId(), value.getOperationNode(),
|
||||
value.getOperatorName(), value.getResult(), value.getCreatedAt())).toList());
|
||||
value.getOperatorName(), value.getResult(), value.getCreatedAt())).toList(),
|
||||
"RETURN_RELABEL".equals(order.getOrderType()) && StringUtils.hasText(order.getSourceOrderNo())
|
||||
? returnReceipts.detail(order.getCustomerId(), order.getSourceOrderNo()) : null);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
@@ -653,7 +656,7 @@ public class LastlegOrderService {
|
||||
}
|
||||
|
||||
static String displayOrderNo(LastlegOrder order) {
|
||||
return "WAREHOUSE_TRANSFER".equals(order.getOrderType()) && StringUtils.hasText(order.getSourceOrderNo())
|
||||
return ("WAREHOUSE_TRANSFER".equals(order.getOrderType()) || "RETURN_RELABEL".equals(order.getOrderType())) && StringUtils.hasText(order.getSourceOrderNo())
|
||||
? order.getSourceOrderNo() : order.getOrderNo();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user