...
|
...
|
@@ -397,7 +397,7 @@ public class BuyerOrderCancelService { |
|
|
logger.warn("cancelOverseasOrder fail -> buyerOrderMapper.updateStatusByOrderCode, orderCode {}", orderCode);
|
|
|
return;
|
|
|
}
|
|
|
saveFailRecord(orderCode, failReason);
|
|
|
saveFailRecord(buyerUid, orderCode, failReason);
|
|
|
|
|
|
int sellerUid = buyerOrder.getSellerUid();
|
|
|
//clean cache
|
...
|
...
|
@@ -432,9 +432,10 @@ public class BuyerOrderCancelService { |
|
|
orderStatusFlowService.addAsy(orderCode,targetStatus.getCode());
|
|
|
}
|
|
|
|
|
|
private int saveFailRecord(long orderCode, String failReason){
|
|
|
private int saveFailRecord(int uid, long orderCode, String failReason){
|
|
|
BuyerOrderMeta record = new BuyerOrderMeta();
|
|
|
record.setOrderCode(orderCode);
|
|
|
record.setUid(uid);
|
|
|
record.setMetaKey(MetaKey.CUSTOMS_CLEARANCE);
|
|
|
CustomsClearanceResult ccr = CustomsClearanceResult.builder()
|
|
|
.type(CustomsClearanceResultType.fail.getCode())
|
...
|
...
|
|