Commit 144fb344 authored by Quxl's avatar Quxl

x

parent 8c0798db
...@@ -184,7 +184,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -184,7 +184,7 @@ public class ReviewServiceImpl implements ReviewService {
where.lk(new String[]{"tt.en_name", "tt.cn_name", "tt.ext_name"}, keyword); where.lk(new String[]{"tt.en_name", "tt.cn_name", "tt.ext_name"}, keyword);
} }
} }
sql = "select tt.* from (" + sql + ") tt " + StringUtil.join(" where ", " and ", "", "", where.getStringList()) + " order by tt.rownum"; sql = "select tt.* from (" + sql + ") tt " + StringUtil.join(" and ", " where ", "", "", where.getStringList()) + " order by tt.rownum";
return jdbcTemplate.limit(sql, page, where.getObjectArray()); return jdbcTemplate.limit(sql, page, where.getObjectArray());
} }
......
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