Authored by chenchao

fix bug

@@ -324,7 +324,7 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { @@ -324,7 +324,7 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService {
324 */ 324 */
325 public OrderInfo getOrderInfo(long orderCode) { 325 public OrderInfo getOrderInfo(long orderCode) {
326 326
327 - BuyerOrder buyerOrder = buyerOrderMapper.selectByOrderCode(orderCode); 327 + BuyerOrder buyerOrder = buyerOrderMapper.selectOnlyByOrderCode(orderCode);
328 328
329 if (buyerOrder == null){ 329 if (buyerOrder == null){
330 logger.warn("getOrderInfo order not exist, orderCode is {}", orderCode); 330 logger.warn("getOrderInfo order not exist, orderCode is {}", orderCode);