Authored by qinchao

物流信息获取-mq

... ... @@ -56,9 +56,6 @@ public class ExpressInfoServiceImpl implements IExpressInfoService {
@Autowired
private BuyerOrderMapper buyerOrderMapper;
@Autowired
private OrderCodeGenerator orderCodeGenerator;
@Resource( name = "yhProducer")
private YhProducer yhProducer;
... ... @@ -88,9 +85,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService {
}
//卖家的uid
if(uid!=buyerOrder.getSellerUid()){
if(uid.intValue()!=buyerOrder.getSellerUid().intValue()){
LOGGER.warn("deliverToDepot saveExpressAndUpdateBuyerOrderStatus uid {} not equal buyer order sellerUid {}",uid, buyerOrder.getSellerUid());
throw new ServiceException(ServiceError.ORDER_NULL);
throw new ServiceException(400,"参数错误,传入的卖家uid与订单卖家uid不一致");
}
Integer dealUid=buyerOrder.getSellerUid();
... ...