Commit b7c1f276 authored by Quxl's avatar Quxl

x

parent ada40bd9
......@@ -767,6 +767,8 @@ public class ReviewServiceImpl implements ReviewService {
} else {
where.ne("t.t.enroll_type_name", "4").eq("t.state_3_round", from_round);
}
} else {
where.where("((t.enroll_type_name = '4') or (t.t.enroll_type_name != '4' and t.state_3_round in (2, 3)))");
}
sql = "select t.* from (" + sql + ") t " + StringUtil.join(" and ", " where ", "", where.getStringList()) + " order by t.film_id desc";
return jdbcTemplate.limit(sql, page, where.getObjectArray());
......
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