Commit 51fcca0b authored by jiawei's avatar jiawei

审核分页列表查询,用content来搜索,不用name搜索

parent aed93992
......@@ -85,7 +85,8 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
ew.eq("a.level", auditStatusLevel.name());
}
if (StringUtils.isNotBlank(name)) {
ew.and(i -> i.like("b.name", name).or().like("c.user_name", name));
// ew.and(i -> i.like("b.name", name).or().like("c.user_name", name));
ew.and(i -> i.like("b.content", name).or().like("c.user_name", name));
}
if (status != null) {
ew.eq(status != null, "a.status", status.name());
......
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