Commit dd12f2f0 authored by Quxl's avatar Quxl

x

parent 78453b93
...@@ -414,9 +414,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -414,9 +414,7 @@ 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();
int optState = review.getOpt_state(); if(enrollType == 2 && (review_round == 2 || review_round == 3)) {
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