Commit e3f37695 authored by Quxl's avatar Quxl

x

parent 105fc566
...@@ -327,14 +327,14 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -327,14 +327,14 @@ public class ReviewServiceImpl implements ReviewService {
jdbcTemplate.executeUpdate("update fc_review set opt_state = 1 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 1 where id = ?", review.getId());
} else if(flowNumber.intValue() == 4 && review_round == 2) { } else if(flowNumber.intValue() == 4 && review_round == 2) {
//展映第二轮评选完成(最后一轮) //展映第二轮评选完成(最后一轮)
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, allot_state = 0 where id = ?", review.getId());
} else if(flowNumber.intValue() == 2 && (review_round == 2 || review_round == 3)) { } else if(flowNumber.intValue() == 2 && (review_round == 2 || review_round == 3)) {
//理员决定是否晋级下一轮评选 //理员决定是否晋级下一轮评选
jdbcTemplate.executeUpdate("update fc_review set opt_state = 2 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 2 where id = ?", review.getId());
} else { } else {
if(review_round == 6) { if(review_round == 6) {
//已经是最后一轮评选 //已经是最后一轮评选
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, allot_state = 0 where id = ?", review.getId());
} else { } else {
//自动进入下一轮评选 //自动进入下一轮评选
this.toNextRound(review.getId()); this.toNextRound(review.getId());
......
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