Commit bf442200 authored by Quxl's avatar Quxl

x

parent a85575d8
...@@ -123,7 +123,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -123,7 +123,7 @@ public class ReviewServiceImpl implements ReviewService {
} else { } else {
w2.lk(new String[]{"t.en_name", "t.cn_name", "t.playactor_name"}, keyword); w2.lk(new String[]{"t.en_name", "t.cn_name", "t.playactor_name"}, keyword);
} }
sql = "select t.* from (" + sql + ") t" + StringUtil.join(" and ", " and ", " ", " ", w2.getStringList()); sql = "select t.* from (" + sql + ") t" + StringUtil.join(" where ", " and ", " ", " ", 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