|
|
@ -468,14 +468,12 @@ public class DsMessageServiceImpl implements DsMessageService {
|
|
|
|
refundPurchaseOrder.setSellerReceiveAddress(refundInfo.getSellerReceiveAddress());
|
|
|
|
refundPurchaseOrder.setSellerReceiveAddress(refundInfo.getSellerReceiveAddress());
|
|
|
|
refundPurchaseOrder.setGmtTimeOut(refundInfo.getGmtTimeOut());
|
|
|
|
refundPurchaseOrder.setGmtTimeOut(refundInfo.getGmtTimeOut());
|
|
|
|
refundPurchaseOrder.setGmtModified(new Date());
|
|
|
|
refundPurchaseOrder.setGmtModified(new Date());
|
|
|
|
if (refundPurchaseOrder.getRefundPurchaseOrderId() != null) {
|
|
|
|
if (refundPurchaseOrder.getRefundPurchaseOrderId() == null) {
|
|
|
|
refundPurchaseOrderMapper.insertSelective(refundPurchaseOrder);
|
|
|
|
refundPurchaseOrderMapper.insertSelective(refundPurchaseOrder);
|
|
|
|
|
|
|
|
refundPurchaseOrderSkuMapper.insertBatch(refundPurchaseOrderSkus);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
refundPurchaseOrderMapper.updateByPrimaryKeySelective(refundPurchaseOrder);
|
|
|
|
refundPurchaseOrderMapper.updateByPrimaryKeySelective(refundPurchaseOrder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!refundPurchaseOrderSkus.isEmpty()) {
|
|
|
|
|
|
|
|
refundPurchaseOrderSkuMapper.insertBatch(refundPurchaseOrderSkus);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private SkuRefundInfosItem buildSkuRefundInfosItem(String purSkuOrderId, RefundInfoDTO refundInfo, AlibabaMessage alibabaMessage) {
|
|
|
|
private SkuRefundInfosItem buildSkuRefundInfosItem(String purSkuOrderId, RefundInfoDTO refundInfo, AlibabaMessage alibabaMessage) {
|
|
|
|