Stringsql="select rr.*, u.username, mf.film_no, mf.en_name, mf.cn_name from fc_review_record rr left join fc_user u on u.uid = rr.user_id left join fc_review r on r.id = rr.review_id left join fc_member_film mf on mf.id = r.film_id where rr.review_state is null and rr.create_time < ?";
Stringsql="select rr.*, u.username, mf.id film_id, mf.film_no, mf.en_name, mf.cn_name from fc_review_record rr left join fc_user u on u.uid = rr.user_id left join fc_review r on r.id = rr.review_id left join fc_member_film mf on mf.id = r.film_id where rr.review_state is null and rr.create_time < ?";
if(StringUtil.isNotBlank(keyword)){
if(StringUtil.isNotBlank(keyword)){
sql="select t.* from ("+sql+") t where t.username like ? or t.en_name like ? or t.cn_name like ?";
sql="select t.* from ("+sql+") t where t.username like ? or t.en_name like ? or t.cn_name like ?";