|
|
|
@ -968,7 +968,7 @@ public class EmInfoServiceImpl extends BaseServiceImpl<EmInfoMapper, EmInfoEntit
|
|
|
|
|
@Override |
|
|
|
|
public List<EmInfoEntity> hkVideoDevices(Long deptId) { |
|
|
|
|
QueryWrapper<EmInfoEntity> queryWrapper= new QueryWrapper<>(); |
|
|
|
|
queryWrapper.lambda().eq(EmInfoEntity::getEmType,4); |
|
|
|
|
queryWrapper.lambda().eq(EmInfoEntity::getEmType,6); |
|
|
|
|
if(ObjectUtil.isNotEmpty(deptId)){ |
|
|
|
|
queryWrapper.lambda().eq(EmInfoEntity::getDepartment,deptId); |
|
|
|
|
} |
|
|
|
@ -1002,10 +1002,13 @@ public class EmInfoServiceImpl extends BaseServiceImpl<EmInfoMapper, EmInfoEntit
|
|
|
|
|
@Override |
|
|
|
|
public List<EmInfoEntity> select(Long deptId) { |
|
|
|
|
if(ObjectUtil.isEmpty(deptId)){ |
|
|
|
|
return this.list(); |
|
|
|
|
return this.list(Wrappers.<EmInfoEntity>lambdaQuery() |
|
|
|
|
.in(EmInfoEntity::getEmType, "2")); |
|
|
|
|
} |
|
|
|
|
return this.list(Wrappers.<EmInfoEntity>lambdaQuery() |
|
|
|
|
.eq(EmInfoEntity::getDepartment,deptId)); |
|
|
|
|
.eq(EmInfoEntity::getDepartment,deptId) |
|
|
|
|
.eq(EmInfoEntity::getEmType, "2") |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|