@@ -560,39 +560,35 @@ public class FilmServiceImpl implements FilmService {
...
@@ -560,39 +560,35 @@ public class FilmServiceImpl implements FilmService {
+"fc_member_film f2 "
+"fc_member_film f2 "
+"where "
+"where "
+"(f.apply_state = 2) "
+"(f.apply_state = 2) "
// + "(f.apply_state = 2 or f.apply_state = 3) "
+"and (f.en_name = f2.en_name and f.cn_name = f2.cn_name) "
+"and (((f.en_name = f2.en_name or (f.en_name is null and f2.en_name is null)) and (f.cn_name = f2.cn_name or (f.cn_name is null and f2.cn_name is null))) "
+"and (((f.en_name = f2.en_name or (f.en_name is null and f2.en_name is null)) and (f.cn_name = f2.cn_name or (f.cn_name is null and f2.cn_name is null))) "
if(count>0&&count==jdbcTemplate.queryForInt("select count(fp.id) from fc_member_film_playactor fp where fp.playactor_type = 'director' and fp.film_id = ?",filmId)){