Commit cc8f1a0a authored by Quxl's avatar Quxl

x

parent 27b9ae42
...@@ -123,7 +123,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -123,7 +123,7 @@ public class ReviewServiceImpl implements ReviewService {
} else { } else {
w2.where("(t.en_name like ? or t.cn_name like ? or t.director_name like ?)", new Object[] {lkstr, lkstr, lkstr}); w2.where("(t.en_name like ? or t.cn_name like ? or t.director_name like ?)", new Object[] {lkstr, lkstr, lkstr});
} }
sql = "select t.* from (" + sql + ") t" + StringUtil.join(" where ", " and ", " ", " ", w2.getStringList()); sql = "select t.* from (" + sql + ") t" + StringUtil.join(" and ", " where ", " ", " ", w2.getStringList());
w1.getObjectList().addAll(w2.getObjectList()); w1.getObjectList().addAll(w2.getObjectList());
} }
return jdbcTemplate.limit(sql, page, w1.getObjectArray()); return jdbcTemplate.limit(sql, page, w1.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