Browse Source

#水电站运行月报设备类型过滤

zhongwei
yang_shj 7 months ago
parent
commit
311d73679c
  1. 1
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/DeviceServiceImpl.java

1
hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/DeviceServiceImpl.java

@ -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<>();

Loading…
Cancel
Save