Commit 840032a6 authored by Quxl's avatar Quxl

x

parent 8ed04213
...@@ -294,7 +294,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -294,7 +294,7 @@ public class ReviewServiceImpl implements ReviewService {
review.setReview_round(0); review.setReview_round(0);
review.setPush_time(now); review.setPush_time(now);
review.setAllot_state(0); review.setAllot_state(0);
review.setOpt_state(3); review.setOpt_state(2);
review.setReview_state(0); review.setReview_state(0);
review.setCreate_time(now); review.setCreate_time(now);
review.setFrom_round(0); review.setFrom_round(0);
......
...@@ -271,6 +271,9 @@ public class AdminReviewController { ...@@ -271,6 +271,9 @@ public class AdminReviewController {
reviewService.deleteReviewRecord(review_id, review_round, cancelList.toArray(new Integer[cancelList.size()])); reviewService.deleteReviewRecord(review_id, review_round, cancelList.toArray(new Integer[cancelList.size()]));
} }
Fc_review review = reviewService.queryReviewById(review_id); Fc_review review = reviewService.queryReviewById(review_id);
if(review.getAllot_state() != 2) {
throw new XRException("当前审片环节没有结论,不能分配下一环节评委.");
}
if(review_round.intValue() == 5 if(review_round.intValue() == 5
|| (review_round.intValue() > review.getReview_round().intValue() && review.getOpt_state().intValue() == 2)) { || (review_round.intValue() > review.getReview_round().intValue() && review.getOpt_state().intValue() == 2)) {
if(review.getEnroll_type_id().intValue() == 2) { if(review.getEnroll_type_id().intValue() == 2) {
......
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