修改bug

20240115-ljl-multiPay
ljl 12 months ago
parent 83c0768e1a
commit 5c64b790fb

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

Loading…
Cancel
Save