...
|
...
|
@@ -8,7 +8,6 @@ import com.yohobuy.ufo.model.order.constants.SkupType; |
|
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
|
|
import com.yohoufo.common.alarm.SmsAlarmEvent;
|
|
|
import com.yohoufo.dal.order.BuyerOrderGoodsMapper;
|
|
|
import com.yohoufo.dal.order.BuyerOrderMapper;
|
|
|
import com.yohoufo.dal.order.SellerOrderGoodsMapper;
|
|
|
import com.yohoufo.dal.order.model.BuyerOrder;
|
|
|
import com.yohoufo.dal.order.model.BuyerOrderGoods;
|
...
|
...
|
@@ -48,9 +47,6 @@ public class BuyerOrderChangeBusinessPostProcessor { |
|
|
final private Logger logger = LoggerUtils.getBuyerOrderLogger();
|
|
|
|
|
|
@Autowired
|
|
|
private BuyerOrderMapper buyerOrderMapper;
|
|
|
|
|
|
@Autowired
|
|
|
private BuyerOrderGoodsMapper buyerOrderGoodsMapper;
|
|
|
|
|
|
@Autowired
|
...
|
...
|
@@ -307,9 +303,7 @@ public class BuyerOrderChangeBusinessPostProcessor { |
|
|
}
|
|
|
}
|
|
|
|
|
|
private boolean doProcess(BuyerOrder simpleBuyerOrder) {
|
|
|
//支付场景中 simpleBuyerOrder没有seller_uid信息
|
|
|
BuyerOrder buyerOrder = buyerOrderMapper.selectByOrderCodeUid(simpleBuyerOrder.getOrderCode(), simpleBuyerOrder.getUid());
|
|
|
private boolean doProcess(BuyerOrder buyerOrder) {
|
|
|
BuyerOrderGoods buyerOrderGoods = buyerOrderGoodsMapper.selectByOrderCode(buyerOrder.getUid(), buyerOrder.getOrderCode());
|
|
|
SellerOrderGoods sellerOrderGoods = sellerOrderGoodsMapper.selectByPrimaryKey(buyerOrderGoods.getSkup());
|
|
|
SellerOrderStatsEntry statsEntry = SellerOrderStatsEntry.builder()
|
...
|
...
|
|