@@ -340,38 +339,69 @@ public class ReviewServiceImpl implements ReviewService {
return-1;
}
}
}
returnnull;
}
privatevoidcloseFlow(intreviewState,intreviewId){
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = ? where id = ?",reviewState,reviewId);
}
@Override
@Transactional
publicvoidtryNextRound(Integerreview_id){
Fc_reviewreview=jdbcTemplate.queryForBean("select * from fc_review where id = ?",Fc_review.class,review_id);
List<Fc_review_record>records=jdbcTemplate.queryForBeans("select * from fc_review_record where review_id = ? and review_round = ?",Fc_review_record.class,review.getId(),review.getReview_round());