Commit 28df8390 by wangli

修改

1 parent cfe61675
......@@ -242,7 +242,9 @@ public class EngineerServiceImpl implements EngineerService {
LambdaQueryWrapper<EngineerInfo> lqw = new LambdaQueryWrapper<>();
lqw.in(groupIds != null && !groupIds.isEmpty(), EngineerInfo::getGroupId, groupIds);
lqw.eq(kind != null && !kind.isEmpty(), EngineerInfo::getKind, (kind.equals("fullJob")) ? 1 : 2);
if(key != null && !key.isEmpty()) {
lqw.eq(EngineerInfo::getKind, (kind.equals("fullJob")) ? 1 : 2);
}
if (key != null && !key.isEmpty()) {
lqw.and(w ->
w.like(EngineerInfo::getPhone, key)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!