Commit 2d9e096f by 丁伟峰

Merge remote-tracking branch 'origin/develop' into develop

2 parents 0dccca58 d776f781
......@@ -242,8 +242,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.equals("fullJob")) ? 1 : 2);
if (key != null && !key.isEmpty()) {
if(StringUtils.isNotEmpty(kind)) {
lqw.eq(EngineerInfo::getKind, (kind.equals("fullJob")) ? 1 : 2);
}
if (StringUtils.isNotEmpty(key)) {
lqw.and(w ->
w.like(EngineerInfo::getPhone, key)
.or()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!