Stringsql="select mf.* from fc_member_film mf, fc_member_film_enroll mfe, fc_review r where mf.id = mfe.film_id and mfe.enroll_type_id = ? and mf.id = r.film_id and mf.review_round = r.review_round and r.create_time >= and r.create_time < ? and r.review_state in () and ";
SqlWherewhere=newSqlWhere();
if(is_review){
where.ge("r.review_state",2);
}else{
where.lt("r.review_state",2);
}
Stringsql="select mf.*, r.enroll_type_id, r.review_round, r.create_time push_time from fc_member_film mf, fc_review r, fc_review_user where r.film_id = mf.id and r.id";