Commit 28d5ac41 authored by Quxl's avatar Quxl

x

parent 872a9c94
......@@ -689,7 +689,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override
public List<Map<String, Object>> queryTimeoutList(String keyword, Page page) {
Date date = DateUtil.day(new Date(), -2);
String sql = "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 < ?";
String sql = "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)) {
sql = "select t.* from (" + sql + ") t where t.username like ? or t.en_name like ? or t.cn_name like ?";
String likestr = "%" + keyword + "%";
......
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