@@ -273,9 +273,13 @@ public class ReviewServiceImpl implements ReviewService {
@Override
publicvoidtoNextRound(Integerreview_id){
Integercount=jdbcTemplate.queryForInt("select count(rr.id) from fc_review_record rr, fc_review r where rr.review_id = r.id and rr.review_round = (r.review_round + 1) and r.id = ?",review_id);
Integercount=jdbcTemplate.queryForInt("select count(rr.id) from fc_review_record rr, fc_review r where rr.review_id = r.id and rr.review_round = (r.review_round + "+step+") and r.id = ?",review_id);
Integerallot_state=count>0?1:0;
jdbcTemplate.executeUpdate("update fc_review set review_round = review_round + 1, opt_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 + "+step+", opt_state = 0, allot_state = ?, review_state = null, push_time = now() where id = ?",allot_state,review_id);