@@ -430,49 +430,6 @@ public class FilmServiceImpl implements FilmService {
returnjdbcTemplate.limit(sql,page,objs);
}
publicstaticvoidmain(String[]args){
Stringsql=""
+"select "
+"mf.id, "
+"mf.film_no, "
+"mf.origion_name, "
+"mf.en_name, "
+"mf.cn_name, "
+"mf.film_type_name, "
+"mf.film_country, "
+"mf.film_type_name, "
+"mf.film_type_name_short, "
+"mf.upload_state, "
+"r.id review_id, "
+"r.review_round, "
+"r.review_state, "
+"r.allot_state, "
+"r.state, "
+"r.enroll_type_id, "
+"(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 "
+"from "
+"fc_member_film mf, "
+"fc_review r left join fc_review_record rr on rr.review_id = r.id and rr.review_round = r.review_round "