@@ -597,5 +597,10 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -597,5 +597,10 @@ public class ReviewServiceImpl implements ReviewService {
Stringsql="select r.id review_id, mf.* from fc_review r left join fc_member_film mf on mf.id = r.film_id, fc_user_film uf where r.id = uf.review_id and uf.user_id = ?";
Stringsql="select r.id review_id, mf.* from fc_review r left join fc_member_film mf on mf.id = r.film_id, fc_user_film uf where r.id = uf.review_id and uf.user_id = ?";
returnjdbcTemplate.queryForList(sql,user_id);
returnjdbcTemplate.queryForList(sql,user_id);
}
}
@Override
publicvoidtoType4(Integerreview_id){
jdbcTemplate.executeUpdate("update fc_review set enroll_type_id = 4 where id = ?",review_id);