Commit df21da64 authored by Quxl's avatar Quxl

x

parent b7c1f276
...@@ -752,7 +752,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -752,7 +752,7 @@ public class ReviewServiceImpl implements ReviewService {
+ "from " + "from "
+ "fc_review r " + "fc_review r "
+ "left join fc_member_film mf on mf.id = r.film_id " + "left join fc_member_film mf on mf.id = r.film_id "
+ "left join fc_review_history rh on rh.enroll_type_id != 4 and rh.review_state = 3 and rh.review_id = r.id " + "left join fc_review_history rh on rh.enroll_type_id != 4 and rh.review_state = 5 and rh.review_id = r.id "
+ (enroll_type_id == null ? "" : (", fc_member_film_enroll mfe where mfe.film_id = r.film_id and mfe.enroll_type_id = " + enroll_type_id)) + (enroll_type_id == null ? "" : (", fc_member_film_enroll mfe where mfe.film_id = r.film_id and mfe.enroll_type_id = " + enroll_type_id))
; ;
SqlWhere where = new SqlWhere() SqlWhere where = new SqlWhere()
......
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