Commit 363940c8 authored by Quxl's avatar Quxl

x

parent 3f52e3fb
...@@ -89,7 +89,8 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -89,7 +89,8 @@ public class ReviewServiceImpl implements ReviewService {
+ "r.allot_state, " + "r.allot_state, "
+ "r.opt_state, " + "r.opt_state, "
+ "(select group_concat(fp.playactor_name) from fc_member_film_playactor fp where fp.film_id = mf.id and fp.playactor_type = 'director' group by fp.film_id, fp.playactor_type) director_name, " + "(select group_concat(fp.playactor_name) from fc_member_film_playactor fp where fp.film_id = mf.id and fp.playactor_type = 'director' group by fp.film_id, fp.playactor_type) director_name, "
+ "count(rr.id) user_count " + "count(rr.id) user_count, "
+ "count(case when rr.review_state is null then rr.id end) user_review_count "
+ "from " + "from "
+ sql_film + " mf, " + sql_film + " mf, "
+ "fc_review r left join fc_review_record rr on rr.review_id = r.id and rr.review_round = r.review_round " + "fc_review r left join fc_review_record rr on rr.review_id = r.id and rr.review_round = r.review_round "
...@@ -379,7 +380,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -379,7 +380,7 @@ public class ReviewServiceImpl implements ReviewService {
public void createAsiaNewReport(Integer review_id) { public void createAsiaNewReport(Integer review_id) {
Fc_review review = jdbcTemplate.queryForBean("select * from fc_review where id = ?", Fc_review.class, review_id); Fc_review review = jdbcTemplate.queryForBean("select * from fc_review where id = ?", Fc_review.class, review_id);
//TODO 计算单个亚新影片得分
} }
public void save(Object obj) { public void save(Object obj) {
......
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