- 修改 Event 实体类,将 outputs 字段类型从 List<Param> 改为 List<ParamDto> - 更新 EventMapper.xml,增加新的 resultMap配置 - 调整 EventRepository 接口,修改查询方法的 resultMap - 修改数据库结构,为 iot_param 表添加 default_value 字段并调整其类型 - 更新 ParamDto 类,增加 compareType 和 defaultValue 字段 - 修改 RecordDataServiceImpl 中的 processParam 方法,使用 ParamDto 作为参数 |
||
---|---|---|
.. | ||
DeviceMapper.xml | ||
EventLogMapper.xml | ||
EventMapper.xml | ||
ProductMapper.xml | ||
RecordDataMapper.xml | ||
ServeMapper.xml |