Commit Graph

2 Commits

Author SHA1 Message Date
zhuangtianxiang
f1e1c21dbf feat(iot): 添加设备服务接口和产品 DTO 更新
- 在 DeviceService 接口中添加了 create 方法,用于创建设备
- 在 ProductDto 中将 type 字段重命名为 productType,以更好地反映其含义
- 在 iot_device 表中添加了 dept_id 列,用于存储部门权限 ID
2025-01-06 01:18:00 +08:00
zhuangtianxiang
6f4a7a3345 refactor(iot): 重构设备和事件相关代码
- 修改设备和事件的 Mapper、Repository、Service 层代码
- 优化查询接口,改用 DeviceVo 和 EventVo 返回结果
- 移除不必要的关联查询,提高查询效率- 修正部分字段名称和数据类型,使其更加合理
2024-12-12 14:37:08 +08:00