Commit 4174c051 by wangli

修改

1 parent 71fb25ca
......@@ -240,7 +240,10 @@ 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 == "fullJob") ? 1 : 2);
if (kind != null && !key.isEmpty()) {
Integer k = (kind == "fullJob") ? 1 : 2;
lqw.eq(EngineerInfo::getKind, k);
}
if (key != null && !key.isEmpty()) {
lqw.and(wrapper1 ->
wrapper1.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!