Commit 07427d43 authored by Quxl's avatar Quxl

x

parent da3a633b
...@@ -568,7 +568,7 @@ public class FilmServiceImpl implements FilmService { ...@@ -568,7 +568,7 @@ public class FilmServiceImpl implements FilmService {
objs[i] = new Object[]{review_id, user_id[i], review_round, review_id, user_id[i], review_round}; objs[i] = new Object[]{review_id, user_id[i], review_round, review_id, user_id[i], review_round};
} }
jdbcTemplate.batchUpdate(sql, objs); jdbcTemplate.batchUpdate(sql, objs);
jdbcTemplate.executeUpdate("update fc_review_record set allot_state = 1 where review_id = ? and review_round = ?", review_id, review_round); jdbcTemplate.executeUpdate("update fc_review set allot_state = 1, dispute_state = 0 where review_id = ? and review_round = ?", review_id, review_round);
} }
@Override @Override
......
...@@ -91,14 +91,18 @@ public class VoteServiceImpl implements VoteService { ...@@ -91,14 +91,18 @@ public class VoteServiceImpl implements VoteService {
Integer enroll_type_id = review.getEnroll_type_id(); Integer enroll_type_id = review.getEnroll_type_id();
Integer review_round = review.getReview_round(); Integer review_round = review.getReview_round();
Integer review_state = this.reviewStateElection(records); Integer review_state = this.reviewStateElection(records);
if(review_state != null) { if(review_state == null) return;
if(enroll_type_id.intValue() == 2 && (review_round == 2 || review_round == 3)) {
if(review_state == -1) {
} else if(enroll_type_id.intValue() == 4 && (review_round == 2 || review_round == 3)) {
}
} else {
this.toNextRound(review.getId());//第一轮审片完成,进入下一轮 if(enroll_type_id.intValue() == 2 && (review_round == 2 || review_round == 3)) {
}
} else if(enroll_type_id.intValue() == 4 && (review_round == 2 || review_round == 3)) {
} 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