Commit 8c8e35e9 authored by Quxl's avatar Quxl

x

parent b0e898de
...@@ -422,7 +422,6 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -422,7 +422,6 @@ public class ReviewServiceImpl implements ReviewService {
asiaNew.setCn_name(film.getCn_name()); asiaNew.setCn_name(film.getCn_name());
asiaNew.setEn_name(film.getEn_name()); asiaNew.setEn_name(film.getEn_name());
asiaNew.setOriginal_name(film.getOrigion_name()); asiaNew.setOriginal_name(film.getOrigion_name());
Map<String, Object> fields = new HashMap<String, Object>(); Map<String, Object> fields = new HashMap<String, Object>();
String sql = "select rr.user_group_id, rre.ext_type, rre.ext_name, avg(rre.ext_score) ext_score, sum(rre.ext_score) ext_score_sum from fc_review_record rr, fc_review_record_ext rre where rre.record_id = rr.id and rr.review_id = " + review_id + " and rr.review_round = " + review_round + " group by rr.user_group_id, rre.ext_type, rre.ext_name"; String sql = "select rr.user_group_id, rre.ext_type, rre.ext_name, avg(rre.ext_score) ext_score, sum(rre.ext_score) ext_score_sum from fc_review_record rr, fc_review_record_ext rre where rre.record_id = rr.id and rr.review_id = " + review_id + " and rr.review_round = " + review_round + " group by rr.user_group_id, rre.ext_type, rre.ext_name";
List<Map<String, Object>> list = jdbcTemplate.queryForList(sql); List<Map<String, Object>> list = jdbcTemplate.queryForList(sql);
......
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