Commit d6f08b55 authored by Quxl's avatar Quxl

x

parent e3025edb
...@@ -90,7 +90,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -90,7 +90,7 @@ public class ReviewServiceImpl implements ReviewService {
+ "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 " + "count(case when rr.review_state is not 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 "
......
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