Commit 9d0e26c2 authored by Quxl's avatar Quxl

x

parent 3d0d57c8
......@@ -140,7 +140,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override
public List<Map<String, Object>> queryBestMvListByGroup(String keyword, Integer user_group_id, Integer review_round, String ext_type, Page page) {
XRException.assertNotBlank("选片轮数不能为空", review_round);
String sql = "select * from fc_report_asia_new where user_gorup_id = " + user_group_id + " and review_round = " + review_round + (StringUtil.isNotBlank(ext_type) ? (" and item_" + ext_type + " is not null") : "");
String sql = "select * from fc_report_asia_new where user_group_id = " + user_group_id + " and review_round = " + review_round + (StringUtil.isNotBlank(ext_type) ? (" and item_" + ext_type + " is not null") : "");
return jdbcTemplate.limit(sql, page);
}
......
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