feat(location):为位置节点添加坐标信息
- 在 EmsLocationServiceImpl 中设置节点的 X 和 Y 坐标 - 更新 LocationTreeNodeVo 类以支持存储 X 和 Y 坐标 - 优化设备列表的包引用路径
This commit is contained in:
@@ -143,6 +143,8 @@ public class EmsLocationServiceImpl implements IEmsLocationService {
|
||||
node.setName(vo.getName());
|
||||
node.setParentId(vo.getParentId());
|
||||
node.setPath(path);
|
||||
node.setX(vo.getX());
|
||||
node.setY(vo.getY());
|
||||
|
||||
List<EmsLocationVo> children = parent2children.get(vo.getLocationId());
|
||||
if (children == null || children.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user