Commit 07427d43 authored by Quxl's avatar Quxl

x

parent da3a633b
......@@ -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};
}
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
......
......@@ -91,7 +91,12 @@ public class VoteServiceImpl implements VoteService {
Integer enroll_type_id = review.getEnroll_type_id();
Integer review_round = review.getReview_round();
Integer review_state = this.reviewStateElection(records);
if(review_state != null) {
if(review_state == null) return;
if(review_state == -1) {
}
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)) {
......@@ -100,6 +105,5 @@ public class VoteServiceImpl implements VoteService {
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