Page<Record> (Integer projectIdString kolNameInteger pageInteger sizeString orderIdString priceId) { StringBuffer sb = StringBuffer()List<String> wheres=ArrayList<>()List<Object> params=ArrayList<>()params.add(projectId)(StringUtil.(kolName)){ wheres.add()params.add(+ kolName + )} (StringUtil.(orderId)){ wheres.add()params.add(+ orderId + )} (StringUtil.(priceId)){ wheres.add()params.add(+ priceId + )} (wheres.size()>){ sb.append( + StringUtils.(wheres))} String from = + sbString totalRowSql = + fromString findSql = + from + Db.(pagesizetotalRowSqlfindSqlparams.toArray())}
这是我的代码
第一页查询出来的数据
第二页查询出来的数据