Commit 75b07e08 authored by Quxl's avatar Quxl

x

parent e1e49f2d
...@@ -284,12 +284,12 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -284,12 +284,12 @@ public class ReviewServiceImpl implements ReviewService {
//理员决定是否晋级下一轮评选 //理员决定是否晋级下一轮评选
jdbcTemplate.executeUpdate("update fc_review set state = 2 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set state = 2 where id = ?", review.getId());
} else { } else {
if(review_round < 6) { if(review_round == 6) {
//自动进入下一轮评选
this.toNextRound(review.getId());
} else {
//已经是最后一轮评选 //已经是最后一轮评选
jdbcTemplate.executeUpdate("update fc_review set state = 3 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set state = 3 where id = ?", review.getId());
} else {
//自动进入下一轮评选
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