Commit eeefcf41 authored by Quxl's avatar Quxl

x

parent 7625b2d1
...@@ -39,25 +39,25 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -39,25 +39,25 @@ public class ReviewServiceImpl implements ReviewService {
String sql = "" String sql = ""
+ "select " + "select "
+ "mf.*, " + "mf.*, "
+ "r.id, "
+ "r.enroll_type_id, " + "r.enroll_type_id, "
+ "r.review_round, " + "r.review_round, "
+ "r.create_time push_time, " + "r.create_time push_time, "
+ "ru.view_state, " + "rr.view_state, "
+ "ru.review_state, " + "rr.review_state, "
+ "ru.review_score, " + "rr.review_score, "
+ "ru.review_text, " + "rr.review_text, "
+ "ru.review_text_summary, " + "rr.review_text_summary, "
+ "ru.review_text_theme, " + "rr.review_text_theme, "
+ "ru.review_text_style, " + "rr.review_text_style, "
+ "ru.review_text_keynote " + "rr.review_text_keynote "
+ "from " + "from "
+ "fc_member_film mf, fc_review_round rr, fc_review r, fc_review_record ru " + "fc_member_film mf, fc_review r, fc_review_record rr "
+ "where " + "where "
+ " mf.id = rr.film_id " + " mf.id = r.film_id "
+ "and rr.film_id = r.film_id " + "and r.id = rr.review_id "
+ "and rr.enroll_type_id = r.enroll_type_id " + "and r.review_round = rr.review_round"
+ "and r.id = ru.review_id " + "and rr.user_id = " + user_id
+ "and ru.user_id = " + user_id
+ StringUtil.join(" and ", " and ", "", "", where.getStringList()); + StringUtil.join(" and ", " and ", "", "", where.getStringList());
return jdbcTemplate.limit(sql, page, where.getObjectList()); return jdbcTemplate.limit(sql, page, where.getObjectList());
} }
......
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