Commit 636c7d75 authored by Quxl's avatar Quxl

x

parent 110e5565
...@@ -373,7 +373,7 @@ public class FilmServiceImpl implements FilmService { ...@@ -373,7 +373,7 @@ public class FilmServiceImpl implements FilmService {
sql = "select t.* from (" + sql + ") t where t.director_name like '%" + keyword + "%' or t.en_name like '%" + keyword + "%' or t.cn_name like '%" + keyword + "%'"; sql = "select t.* from (" + sql + ") t where t.director_name like '%" + keyword + "%' or t.en_name like '%" + keyword + "%' or t.cn_name like '%" + keyword + "%'";
} }
Object[] objs = where.getObjectList(); Object[] objs = where.getObjectList();
page.setLimitKey("mf.film_no"); page.setLimitKey("t.film_no");
return jdbcTemplate.limit(sql, page, objs); return jdbcTemplate.limit(sql, page, objs);
} }
......
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