Stringsql="select r.* from fc_review r left join fc_ where r.enroll_type_id = 2 and review_round >= "+review_round;
Stringsql="select r.* from fc_review r, fc_review_record rr, fc_review_record_ext rre where rre.record_id = rr.id and rr.review_id = r.id and r.enroll_type_id = 2 and review_round >= "+review_round+" group by rr.review_id, rre.record_id, ";
//TODO
returnnull;
}
...
...
@@ -344,11 +344,6 @@ public class ReviewServiceImpl implements ReviewService {
returnnull;
}
/**
* 1金爵 2亚新 4展映
* 1通过 2否决 3参赛 4参赛备选 5参展
* 0未评选 1有争议 2管理员分配 3审片完成
*/
@Override
@Transactional
publicvoidtryNextRound(Integerreview_id){
...
...
@@ -366,6 +361,9 @@ public class ReviewServiceImpl implements ReviewService {
jdbcTemplate.executeUpdate("update fc_review set opt_state = 1, allot_state = 0 where id = ?",review.getId());
}else{
jdbcTemplate.executeUpdate("update fc_review set opt_state = 2, review_state = ? where id = ?",review_state,review.getId());