feat(ems): 添加位置坐标字段及区域功能

-树设备挂载 在 EmsLocation 实体及其相关 BO、VO 中新增 x、y 坐标字段
- 更新 Mapper XML 配置以支持新字段映射
- 新增 LocationTreeNodeVo 类用于表示区域树节点结构
- 在 EmsLocationController 中增加 /treeWithDevices 接口
- 在 EmsLocationServiceImpl 中实现 treeWithDevices 方法,
  构建带路径的区域树并在叶子节点挂载设备信息
- 注入 IEmsAlarmDeviceService 服务以查询设备数据
- 修改生产环境数据库端口号与密码配置
This commit is contained in:
2025-10-14 16:59:09 +08:00
parent d8175ef41d
commit 4a2e0c37f3
9 changed files with 119 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="locationId" column="location_id"/>
<result property="name" column="name"/>
<result property="parentId" column="parent_id"/>
<result property="x" column="x"/>
<result property="y" column="y"/>
<result property="description" column="description"/>
<result property="address" column="address"/>
<result property="createBy" column="create_by"/>