feat(watch): listCustom 接口与导出增加 eventId、locateTime 字段
1. AbnormalEvent 新增 eventId、locateTime 字段 2. listCustom/largeScreenListCustom/listCustomForMap 三个接口返回新字段 3. 导出 Excel 通过 @Excel 注解自动支持新字段(顺序 12、13) 4. locateTime 时间格式化为 yyyy-MM-dd HH:mm:ss 5. 修正 createMonitorData 中遗漏的 eventId 与 locateTime 字段赋值 6. DDL 表名修正为 QH_WAT_MONITOR_DATA(项目实际表名)
This commit is contained in:
+2
@@ -375,7 +375,9 @@ public class WatchMonitorDataServiceImpl extends ServiceImpl<WatchMonitorDataMap
|
||||
monitorDataEntity.setWatchNo(data.getWatchNo());
|
||||
monitorDataEntity.setLon(data.getLon());
|
||||
monitorDataEntity.setLat(data.getLat());
|
||||
monitorDataEntity.setLocateTime(data.getLocateTime());
|
||||
monitorDataEntity.setEventType(data.getEventType());
|
||||
monitorDataEntity.setEventId(data.getEventId());
|
||||
monitorDataEntity.setDataValue(data.getDataValue());
|
||||
monitorDataEntity.setCreateDate(data.getCreateTime());
|
||||
monitorDataEntity.setWarnTime(data.getWarnTime());
|
||||
|
||||
Reference in New Issue
Block a user