Commit 822fddb3 authored by Quxl's avatar Quxl

x

parent 3361c471
......@@ -622,6 +622,12 @@ public class ReviewServiceImpl implements ReviewService {
objs[i] = new Object[]{review_id, user_id[i], review_round, review_id, user_id[i], review_round};
}
jdbcTemplate.batchUpdate(sql, objs);
Object[][] objs2 = new Object[user_id.length][];
for(int i = 0; i < objs2.length; i++) {
objs2[i] = new Object[]{review_id, review_round, user_id[i]};
}
jdbcTemplate.batchUpdate("update fc_review_record set user_group_id = ? where review_id = ? and review_round = ? and user_id = ?", objs2);
jdbcTemplate.executeUpdate("update fc_review set allot_state = 1, opt_state = 0 where id = ? and review_round = ?", review_id, 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