|
@@ -82,7 +82,7 @@ public class CardExchangeInfoServiceImpl implements ICardExchangeInfoService {
|
|
wrapper.eq("delete_flag", deleteFlag);
|
|
wrapper.eq("delete_flag", deleteFlag);
|
|
}
|
|
}
|
|
wrapper.eq("delete_flag", 0);
|
|
wrapper.eq("delete_flag", 0);
|
|
- Integer count = cardExchangeInfoMapper.selectCount(wrapper);
|
|
|
|
|
|
+ Integer count = cardExchangeInfoMapper.getCardExchangeCount(status,(page - 1) * limit, limit, receiveId);
|
|
List<CardExchangeInfo> list = cardExchangeInfoMapper.getCardExchangeInfoPage(status,(page - 1) * limit, limit, receiveId);
|
|
List<CardExchangeInfo> list = cardExchangeInfoMapper.getCardExchangeInfoPage(status,(page - 1) * limit, limit, receiveId);
|
|
return new Page<CardExchangeInfo>(list, page, limit, count);
|
|
return new Page<CardExchangeInfo>(list, page, limit, count);
|
|
}
|
|
}
|