@@ -351,6 +352,7 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -351,6 +352,7 @@ public class ReviewServiceImpl implements ReviewService {
* 1通过 2否决 3参赛 4参赛备选 5参展
* 1通过 2否决 3参赛 4参赛备选 5参展
* 0未评选 1有争议 2管理员分配 3审片完成
* 0未评选 1有争议 2管理员分配 3审片完成
*/
*/
@Transactional
publicvoidtryNextRound(Integerreview_id){
publicvoidtryNextRound(Integerreview_id){
Fc_reviewreview=jdbcTemplate.queryForBean("select * from fc_review where id = ?",Fc_review.class,review_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());
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());
...
@@ -365,6 +367,16 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -365,6 +367,16 @@ public class ReviewServiceImpl implements ReviewService {
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?",review.getId());
jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?",review.getId());