Commit 225d1c94 by 王力

Merge branch 'dev_engineer_filter' into 'develop'

修改

See merge request !163
2 parents e2b91c15 fa287c0e
......@@ -241,7 +241,7 @@ public class EngineerServiceImpl implements EngineerService {
LambdaQueryWrapper<EngineerInfo> lqw = new LambdaQueryWrapper<>();
lqw.in(groupIds != null && !groupIds.isEmpty(), EngineerInfo::getGroupId, groupIds);
if (kind != null && !key.isEmpty()) {
Integer k = (kind == "fullJob") ? 1 : 2;
Integer k = (kind.equals("fullJob")) ? 1 : 2;
lqw.eq(EngineerInfo::getKind, k);
}
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!