...
|
...
|
@@ -132,6 +132,9 @@ public class BuyerOrderCancelService { |
|
|
@Autowired
|
|
|
private ExpressInfoMapper expressInfoMapper;
|
|
|
|
|
|
@Autowired
|
|
|
private ServiceOrderProcessor serviceOrderProcessor;
|
|
|
|
|
|
@Resource(name = "tradeMqProducer")
|
|
|
private YhProducer tradeMqProducer;
|
|
|
|
...
|
...
|
@@ -250,6 +253,13 @@ public class BuyerOrderCancelService { |
|
|
}
|
|
|
|
|
|
public void cancelForSellerShamSendOut(int uid, long orderCode,OrderStatus targetStatus) {
|
|
|
|
|
|
if (serviceOrderProcessor.isGoodsServiceOrder(orderCode)){
|
|
|
logger.info("cancelForSellerShamSendOut isGoodsServiceOrder orderCode {}", orderCode);
|
|
|
ServiceOrderProcessor.ExistenceNode existenceNode = serviceOrderProcessor.findGoodsServiceInstanceAndExt(orderCode);
|
|
|
existenceNode.getGoodsService().shamDeliver(existenceNode.getAppraiseOrder());
|
|
|
}
|
|
|
|
|
|
new BuyerOrderCancelHandler(uid, orderCode)
|
|
|
.withBuyerOrderSupplier(buyerOrderMapper, buyerOrderGoodsMapper)
|
|
|
.withSellerOrderSupplier(sellerOrderGoodsMapper,sellerOrderMetaMapper)
|
...
|
...
|
|