@@ -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 {
publicvoidcreateAsiaNewReport(Integerreview_id){
publicvoidcreateAsiaNewReport(Integerreview_id){
Fc_reviewreview=jdbcTemplate.queryForBean("select * from fc_review where id = ?",Fc_review.class,review_id);
Fc_reviewreview=jdbcTemplate.queryForBean("select * from fc_review where id = ?",Fc_review.class,review_id);