Commit 36a4bcb9 authored by Quxl's avatar Quxl

x

parent 9c8fb07c
......@@ -390,8 +390,8 @@ public class ReviewServiceImpl implements ReviewService {
this.createAsiaNewReport(review.getId().intValue(), reviewRound);
}
if(reviewState == 0) {
return;
}
jdbcTemplate.executeUpdate("update fc_review set opt_state = 0, review_state = 0 where id = ?", review.getId());
} else {
if(reviewState == 2) {//否决
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?", review.getId());
} else if(reviewState == -1) {//争议
......@@ -429,6 +429,7 @@ public class ReviewServiceImpl implements ReviewService {
history.setOpt_state(opt_state);
jdbcTemplate.save(history);
}
}
@Override
public void deleteAsiaNewReport(int review_id, int review_round) {
......
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