Commit 3ce78ae0 authored by Quxl's avatar Quxl

x

parent 63d7db89
...@@ -414,11 +414,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -414,11 +414,7 @@ public class ReviewServiceImpl implements ReviewService {
if(review_state.intValue() == 2) {//否决 if(review_state.intValue() == 2) {//否决
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?", review.getId());
} else if(review_state.intValue() == -1) {//争议 } else if(review_state.intValue() == -1) {//争议
if(review_round.intValue() == 5) {
throw new XRException("选片委员会不允许产生有争议结论");
} else {
jdbcTemplate.executeUpdate("update fc_review set opt_state = 1, allot_state = 0 where id = ?", review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 1, allot_state = 0 where id = ?", review.getId());
}
} else { } else {
jdbcTemplate.executeUpdate("update fc_review set opt_state = 2, review_state = ? where id = ?", review_state, review.getId()); jdbcTemplate.executeUpdate("update fc_review set opt_state = 2, review_state = ? where id = ?", review_state, 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