}
public void formatQuery(DaoStatement daoStatement) {
if (daoStatement == null)
return;
SqlContext ctx = daoStatement.getContext();
if (ctx == null || ctx.getPager() == null)
return;
if (daoStatement instanceof Pojo)
formatQuery((Pojo)daoStatement);
else if (daoStatement instanceof Sql)
formatQuery((Sql)daoStatement);