Commit 7df38f89 authored by xixinzhao's avatar xixinzhao

建筑、系统点位图拖装备问题

parent 849b695d
...@@ -500,7 +500,13 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste ...@@ -500,7 +500,13 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
List<PointTreeVo> pointData = fireFightingSystemMapper.getPointData(id,instanceId); List<PointTreeVo> pointData = fireFightingSystemMapper.getPointData(id,instanceId);
if (!CollectionUtils.isEmpty(pointData)) { if (!CollectionUtils.isEmpty(pointData)) {
// 查询所有wl_source_scene,判断是否绑定 // 查询所有wl_source_scene,判断是否绑定
List<SourceScene> sourceSceneList = sourceSceneMapper.selectList(null); LambdaQueryWrapper<SourceScene> wrapper = new LambdaQueryWrapper<>();
if (StringUtils.isEmpty(id)) {
wrapper.eq(SourceScene::getSourceType, "building");
} else {
wrapper.eq(SourceScene::getSourceType, "system");
}
List<SourceScene> sourceSceneList = sourceSceneMapper.selectList(wrapper);
Map<Long, String> sourceSceneMap = null; Map<Long, String> sourceSceneMap = null;
String equipSpecificIds = null; String equipSpecificIds = null;
if (!CollectionUtils.isEmpty(sourceSceneList)) { if (!CollectionUtils.isEmpty(sourceSceneList)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment