Commit 0386b41f authored by fangxinjiang's avatar fangxinjiang

实缴查询优化-fxj

parent c0551da7
...@@ -204,7 +204,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -204,7 +204,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
return pageNew; return pageNew;
} }
private List<TPaymentInfoNewVo> getPageData(TPaymentInfoSearchVo searchVo,Page<TPaymentInfoNewVo> pageNew ,long totalCount){ private List<TPaymentInfoNewVo> getPageData(TPaymentInfoSearchVo searchVo,Page<TPaymentInfoNewVo> pageNew ,long totalCount){
List<TPaymentInfoNewVo> pageData;//baseMapper.getTPaymentInfoNewPageDiy(tPaymentInfo, (pageNew.getCurrent() - 1) * pageNew.getSize(), pageNew.getSize()); List<TPaymentInfoNewVo> pageData;
// 非大批量数据统计查询时走原逻辑 // 非大批量数据统计查询时走原逻辑
if (totalCount < 20000){ if (totalCount < 20000){
return baseMapper.getTPaymentInfoNewPageDiy(searchVo, (pageNew.getCurrent() - 1) * pageNew.getSize(), pageNew.getSize()); return baseMapper.getTPaymentInfoNewPageDiy(searchVo, (pageNew.getCurrent() - 1) * pageNew.getSize(), pageNew.getSize());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment