...
|
...
|
@@ -201,6 +201,11 @@ public class SingleGoodsChangePriceService { |
|
|
final Integer preSkup = scpr.getPreSkup(), currentSkup = scpr.getSkup();
|
|
|
long preOrderCode = scpr.getPreOrderCode();
|
|
|
try {
|
|
|
//sync prd copy data when goods is imperfect
|
|
|
SellerOrderGoods prePsog = sellerOrderGoodsMapper.selectByPrimaryKey(preSkup);
|
|
|
if(SellerGoodsHelper.isImperfectGoods(prePsog.getAttributes())) {
|
|
|
productProxyService.cloneImperfectGoods(preSkup, currentSkup);
|
|
|
}
|
|
|
logger.info("in processAfterChangePriceOrderPaid cancel pre-SellerOrder , uid {} orderCode {} preOrderCode {}",
|
|
|
uid, orderCode, preOrderCode);
|
|
|
sellerOrderCancelService.cancelSellerOrder(uid, preOrderCode);
|
...
|
...
|
@@ -209,11 +214,7 @@ public class SingleGoodsChangePriceService { |
|
|
uid, orderCode, preOrderCode, ex);
|
|
|
rollBackWherPaidCallBackFail(uid, orderCode);
|
|
|
}finally {
|
|
|
//sync prd copy data when goods is imperfect
|
|
|
SellerOrderGoods prePsog = sellerOrderGoodsMapper.selectByPrimaryKey(preSkup);
|
|
|
if(SellerGoodsHelper.isImperfectGoods(prePsog.getAttributes())) {
|
|
|
productProxyService.cloneImperfectGoods(preSkup, currentSkup);
|
|
|
}
|
|
|
|
|
|
productProxyService.cancelHiddenSkup(preSkup);
|
|
|
}
|
|
|
}
|
...
|
...
|
|