Commit 63d7db89 authored by Quxl's avatar Quxl

x

parent f3873dc6
......@@ -119,5 +119,7 @@ public interface ReviewService {
List<Map<String, Object>> queryUserShowList(Integer user_id);
void toType4(Integer id);
}
\ No newline at end of file
......@@ -597,5 +597,10 @@ public class ReviewServiceImpl implements ReviewService {
String sql = "select r.id review_id, mf.* from fc_review r left join fc_member_film mf on mf.id = r.film_id, fc_user_film uf where r.id = uf.review_id and uf.user_id = ?";
return jdbcTemplate.queryForList(sql, user_id);
}
@Override
public void toType4(Integer review_id) {
jdbcTemplate.executeUpdate("update fc_review set enroll_type_id = 4 where id = ?", review_id);
}
}
\ No newline at end of file
......@@ -309,6 +309,9 @@ public class AdminReviewController {
throw new XRException("亚新二选和三选评分不能跳过");
}
}
if(review.getReview_state().intValue() == 5 && review.getEnroll_type_id().intValue() != 4) {
reviewService.toType4(review.getId());
}
reviewService.toRound(review_id, review_round);
} else {
throw new XRException("审片流程不能后退");
......
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