Commit fa287c0e by wangli

修改

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