|
@@ -812,7 +812,7 @@ public class LabRiskPlanServiceImpl extends ServiceImpl<LabRiskPlanMapper, LabRi
|
|
|
log.info("关闭喇叭-远程调用查询喇叭列表,楼层id={},实验室id={}", floorId, subjectId);
|
|
log.info("关闭喇叭-远程调用查询喇叭列表,楼层id={},实验室id={}", floorId, subjectId);
|
|
|
Integer count = labSparseHardwareService.selectSpeakerCount();
|
|
Integer count = labSparseHardwareService.selectSpeakerCount();
|
|
|
log.info("查询喇叭总数:{}",count);
|
|
log.info("查询喇叭总数:{}",count);
|
|
|
- R deviceList = remoteSpeakService.getDeviceList(1, count + 10, null, subjectId);
|
|
|
|
|
|
|
+ R deviceList = remoteSpeakService.getDeviceList(1, count + 10, -99L, subjectId);
|
|
|
log.info("关闭喇叭-远程调用喇叭列表返回内容: deviceList={}", JSON.toJSONString(deviceList));
|
|
log.info("关闭喇叭-远程调用喇叭列表返回内容: deviceList={}", JSON.toJSONString(deviceList));
|
|
|
if (deviceList.getCode() == 200) {
|
|
if (deviceList.getCode() == 200) {
|
|
|
List<Map<String, Object>> mapList = (List<Map<String, Object>>) deviceList.getData();
|
|
List<Map<String, Object>> mapList = (List<Map<String, Object>>) deviceList.getData();
|
|
@@ -1010,7 +1010,7 @@ public class LabRiskPlanServiceImpl extends ServiceImpl<LabRiskPlanMapper, LabRi
|
|
|
log.info("打开喇叭-远程调用查询喇叭列表,楼层id={},实验室id={}", floorId, subjectId);
|
|
log.info("打开喇叭-远程调用查询喇叭列表,楼层id={},实验室id={}", floorId, subjectId);
|
|
|
Integer count = labSparseHardwareService.selectSpeakerCount();
|
|
Integer count = labSparseHardwareService.selectSpeakerCount();
|
|
|
log.info("查询喇叭总数:{}",count);
|
|
log.info("查询喇叭总数:{}",count);
|
|
|
- R deviceList = remoteSpeakService.getDeviceList(1, count + 10, null, subjectId);
|
|
|
|
|
|
|
+ R deviceList = remoteSpeakService.getDeviceList(1, count + 10, -99L, subjectId);
|
|
|
log.info("打开喇叭-远程调用喇叭列表返回内容: deviceList={}", JSON.toJSONString(deviceList));
|
|
log.info("打开喇叭-远程调用喇叭列表返回内容: deviceList={}", JSON.toJSONString(deviceList));
|
|
|
if (deviceList.getCode() == 200) {
|
|
if (deviceList.getCode() == 200) {
|
|
|
List<PlayVo> playVoList = new ArrayList<>();
|
|
List<PlayVo> playVoList = new ArrayList<>();
|