Authored by wujiexiang

fixbug:变现取消后清空缓存

... ... @@ -441,11 +441,12 @@ public class SellerOrderCancelService {
}
try {
cacheCleaner.cleanList(uid, TabType.SELL.getValue());
SellerOrderGoods psog = sellerOrderGoodsMapper.selectByPrimaryKey(skup);
cacheCleaner.cleanSellerDetail(psog);
//数据库中的 uid= 0
psog.setUid(uid);
cacheCleaner.cleanSellerOrderDetailAndList(psog, null);
} catch (Exception ex) {
logger.warn("in seller cancel waiting pay and then clean cache of list and detail fail, uid {}, skup {}",
logger.warn("in seller cancel before Buy Action clean cache of list and detail fail, uid {}, skup {}",
uid, skup, ex);
}
return 1;
... ...