Commit b0e898de authored by Quxl's avatar Quxl

x

parent 7218c6d2
...@@ -411,7 +411,9 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -411,7 +411,9 @@ public class ReviewServiceImpl implements ReviewService {
public void createAsiaNewReport(int review_id, int review_round) { public void createAsiaNewReport(int review_id, int review_round) {
Fc_review review = jdbcTemplate.queryForBean("select * from fc_review where id = ?", Fc_review.class, review_id); Fc_review review = jdbcTemplate.queryForBean("select * from fc_review where id = ?", Fc_review.class, review_id);
int enrollType = review.getEnroll_type_id(); int enrollType = review.getEnroll_type_id();
if(enrollType == 2 && (review_round == 2 || review_round == 3)) { int optState = review.getOpt_state();
int reviewState = review.getReview_state();
if(enrollType == 2 && (review_round == 2 || review_round == 3) && (optState == 1 || (optState == 2 && (reviewState == 1 || reviewState == 3)))) {
Fc_member_film film = filmService.queryMemberFilmById(review.getFilm_id().longValue()); Fc_member_film film = filmService.queryMemberFilmById(review.getFilm_id().longValue());
Fc_report_asia_new asiaNew = new Fc_report_asia_new(); Fc_report_asia_new asiaNew = new Fc_report_asia_new();
asiaNew.setReview_id(review_id); asiaNew.setReview_id(review_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment