|
|
@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.google.common.collect.Lists; |
|
|
|
import com.google.common.collect.Lists; |
|
|
|
import com.google.common.util.concurrent.ThreadFactoryBuilder; |
|
|
|
import com.google.common.util.concurrent.ThreadFactoryBuilder; |
|
|
|
import com.hnac.hzims.alarm.entity.AlarmEntity; |
|
|
|
|
|
|
|
import com.hnac.hzims.equipment.entity.WorkshopInfoEntity; |
|
|
|
import com.hnac.hzims.equipment.entity.WorkshopInfoEntity; |
|
|
|
import com.hnac.hzims.equipment.vo.EminfoAndEmParamVo; |
|
|
|
import com.hnac.hzims.equipment.vo.EminfoAndEmParamVo; |
|
|
|
import com.hnac.hzims.fdp.vo.FdpFaultStatusVo; |
|
|
|
import com.hnac.hzims.fdp.vo.FdpFaultStatusVo; |
|
|
@ -455,6 +454,7 @@ public class MonitorServiceImpl implements MonitorService { |
|
|
|
item.setWaterLevelMax(station.getLimitWaterLevel()); |
|
|
|
item.setWaterLevelMax(station.getLimitWaterLevel()); |
|
|
|
item.setServerType(station.getServeType()); |
|
|
|
item.setServerType(station.getServeType()); |
|
|
|
item.setStationDeptId(station.getRefDept()); |
|
|
|
item.setStationDeptId(station.getRefDept()); |
|
|
|
|
|
|
|
item.setSort(9999); |
|
|
|
// 排序
|
|
|
|
// 排序
|
|
|
|
List<Dept> list = deptAll.stream().filter(o-> station.getRefDept().equals(o.getId())).collect(Collectors.toList()); |
|
|
|
List<Dept> list = deptAll.stream().filter(o-> station.getRefDept().equals(o.getId())).collect(Collectors.toList()); |
|
|
|
if(CollectionUtil.isEmpty(list)){ |
|
|
|
if(CollectionUtil.isEmpty(list)){ |
|
|
|