|
|
@@ -190,7 +190,7 @@ public class LabSubjectManagerService {
|
|
|
}
|
|
|
|
|
|
public void test(Long id){
|
|
|
- LabHardwareVO labHardwareVO = hardwareMapper.selectLabHardwareById(id);
|
|
|
+ hardwareMapper.selectLabHardwareById(id);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -1336,7 +1336,7 @@ public class LabSubjectManagerService {
|
|
|
/**
|
|
|
* 生成实验室控制VO
|
|
|
* 2021年11月12日 增加了{@link SubQueryManager} 请看其中的方法
|
|
|
- *
|
|
|
+ * @deprecated (2021年11月12日 , 增加了{@link SubQueryManager} 请看其中的方法)
|
|
|
* @param labSubjects
|
|
|
* @param flag 是否计算权限(数据权限>负责人 ,数据权限会覆盖负责人 )
|
|
|
* @param iflabSubClassVOS 是否计算危险等级
|
|
|
@@ -1369,7 +1369,6 @@ public class LabSubjectManagerService {
|
|
|
labSensors = sensorMapper.selectSensorBySubIds(longs);
|
|
|
}
|
|
|
//2.1.获取详细地址后面做(已完成)
|
|
|
-// Long[] layoutIds = labSubjects.stream().map(a -> a.getLayoutId()).filter(a -> a != null).toArray(Long[]::new);
|
|
|
Long[] subIds = labSubjects.stream().map(a -> a.getId()).toArray(Long[]::new);
|
|
|
List<SubAddrr> subAddrrs = subjectLayoutService.selectAddrrByLayoutIdsByPc(subIds);
|
|
|
Map<Long, SubAddrr> subAddrrMap = subAddrrs.stream().collect(Collectors.toMap(SubAddrr::getId, Function.identity()));
|