|
@@ -90,9 +90,9 @@ public class AdsAccountRechargeRankingServiceImpl implements IAdsAccountRecharge
|
|
|
dao.execute(sql);
|
|
|
|
|
|
|
|
|
- Sql pagerSql = Sqls.queryEntity("select count(*) from ads_agent_recharge_ranking " + "$condition");
|
|
|
- pagerSql.setCondition(cri);
|
|
|
- pager.setRecordCount(((Long) Daos.queryCount(dao, pagerSql)).intValue());
|
|
|
+ // Sql pagerSql = Sqls.queryEntity("select count(*) from ads_account_recharge_ranking " + "$condition");
|
|
|
+ // pagerSql.setCondition(cri);
|
|
|
+ pager.setRecordCount(((Long) Daos.queryCount(dao, sql)).intValue());
|
|
|
|
|
|
List<AdsAccountRechargeRankingVO> result = sql.getList(AdsAccountRechargeRankingVO.class);
|
|
|
int beginIndex = (dto.getPageNum() - 1) * dto.getPageSize();
|