Commit a1fde6da authored by Quxl's avatar Quxl

x

parent 85939284
...@@ -465,7 +465,7 @@ public class FilmServiceImpl implements FilmService { ...@@ -465,7 +465,7 @@ public class FilmServiceImpl implements FilmService {
} catch (Exception e) { } catch (Exception e) {
nextRound = 1; nextRound = 1;
} }
jdbcTemplate.executeUpdate("update fc_member_film_enroll set review_round = ? where film_id = ? and enroll_type_id = ?", nextRound, member_film_id, enroll_type_id); jdbcTemplate.executeUpdate("update fc_review set review_round = ? where film_id = ? and enroll_type_id = ?", nextRound, member_film_id, enroll_type_id);
Integer count = jdbcTemplate.queryForInt("select count(id) from fc_review where film_id = ? and review_round = ? and enroll_type_id = ?", member_film_id, nextRound, enroll_type_id); Integer count = jdbcTemplate.queryForInt("select count(id) from fc_review where film_id = ? and review_round = ? and enroll_type_id = ?", member_film_id, nextRound, enroll_type_id);
if(count == 0) { if(count == 0) {
Fc_review review = new Fc_review(); Fc_review review = new Fc_review();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment