|
|
@ -51,6 +51,7 @@ public class DeviceServiceImpl extends BaseServiceImpl<DeviceMapper, EmInfoEntit |
|
|
|
List<EmInfoEntity> devices = this.list(Wrappers.<EmInfoEntity>lambdaQuery() |
|
|
|
List<EmInfoEntity> devices = this.list(Wrappers.<EmInfoEntity>lambdaQuery() |
|
|
|
.in(EmInfoEntity::getDepartment,refDetps) |
|
|
|
.in(EmInfoEntity::getDepartment,refDetps) |
|
|
|
.eq(EmInfoEntity::getHomePageDisplay,"1") |
|
|
|
.eq(EmInfoEntity::getHomePageDisplay,"1") |
|
|
|
|
|
|
|
.eq(EmInfoEntity::getEmType,"2") |
|
|
|
); |
|
|
|
); |
|
|
|
if(CollectionUtil.isEmpty(devices)){ |
|
|
|
if(CollectionUtil.isEmpty(devices)){ |
|
|
|
return new ArrayList<>(); |
|
|
|
return new ArrayList<>(); |
|
|
|