Commit b55960a0 authored by Quxl's avatar Quxl

x

parent f3373759
......@@ -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_group_id = " + user_group_id + " and review_round = " + review_round + (StringUtil.isNotBlank(ext_type) ? (" and item_" + ext_type + " is not null") : "");
String sql = "select ran.*, mf.film_no from fc_report_asia_new ran left join fc_member_film mf on mf.id = ran.film_id where ran.user_group_id = " + user_group_id + " and ran.review_round = " + review_round + (StringUtil.isNotBlank(ext_type) ? (" and ran.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