@@ -261,6 +261,16 @@ public class ReviewServiceImpl implements ReviewService {
returnjdbcTemplate.queryForList(sql,review_id);
}
@Override
@Transactional
publicvoidrmReviewData(Longmember_film_id){
jdbcTemplate.executeUpdate("delete from fc_review_record_ext where record_id in (select id from fc_review_record where review_id in (select id from fc_review where film_id = "+member_film_id+"))");
jdbcTemplate.executeUpdate("delete from fc_review_record where review_id in (select id from fc_review where film_id = "+member_film_id+")");
jdbcTemplate.executeUpdate("delete from fc_review where film_id = "+member_film_id);
jdbcTemplate.executeUpdate("delete from fc_review_history where film_id = "+member_film_id);
jdbcTemplate.executeUpdate("delete from fc_review_doubtful where review_id in (select id from fc_review where film_id = "+member_film_id+")");