Commit c56b2f64 authored by Quxl's avatar Quxl

x

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