jdbcTemplate.executeUpdate("update fc_review set opt_state = 3, review_state = 2 where id = ?",review.getId());
Fc_reviewreview_new=newFc_review();
review_new.setFilm_id(review.getFilm_id());
review_new.setEnroll_type_id(4);
review_new.setReview_round(1);
review_new.setPush_time(now);
review_new.setAllot_state(0);
review_new.setOpt_state(0);
review_new.setReview_state(null);
review_new.setCreate_time(now);
jdbcTemplate.save(review);
}
@Override
@Override
/**
* 1金爵 2亚新 4展映
* 1通过 2否决 3参赛 4参赛备选 5参展
* 0未评选 1有争议 2管理员分配 3审片完成
*/
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());