Commit 7a526686 authored by Quxl's avatar Quxl

x

parent 7f038d64
...@@ -82,8 +82,6 @@ public interface ReviewService { ...@@ -82,8 +82,6 @@ public interface ReviewService {
void toNextRound(Integer review_id); void toNextRound(Integer review_id);
void toNextRound(Integer review_id, Integer review_state);
void tryNextRound(Integer review_id); void tryNextRound(Integer review_id);
} }
\ No newline at end of file
...@@ -221,11 +221,6 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -221,11 +221,6 @@ public class ReviewServiceImpl implements ReviewService {
jdbcTemplate.executeUpdate("update fc_review set review_round = review_round + 1, state = 0, allot_state = ?, review_state = null, push_time = now() where id = ?", allot_state, review_id); jdbcTemplate.executeUpdate("update fc_review set review_round = review_round + 1, state = 0, allot_state = ?, review_state = null, push_time = now() where id = ?", allot_state, review_id);
} }
@Override
public void toNextRound(Integer review_id, Integer review_state) {
//TODO
}
private Integer reviewStateElection(List<Fc_review_record> records) { private Integer reviewStateElection(List<Fc_review_record> records) {
Map<Integer, Integer> map = new HashMap<Integer, Integer>(); Map<Integer, Integer> map = new HashMap<Integer, Integer>();
for(Fc_review_record record : records) { for(Fc_review_record record : records) {
......
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