From f66e9016d77a0d500df285ff58a581b31eb54055 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 08 一月 2025 08:21:43 +0800 Subject: [PATCH] DaPointDao代码优化 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagRespVO.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagRespVO.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagRespVO.java index 2baca7c..1891995 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagRespVO.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagRespVO.java @@ -2,6 +2,7 @@ import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; @@ -43,7 +44,16 @@ @Schema(description = "数据值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @ExcelProperty("数据值") - private Double dataValue; + private Object dataValue; + + @Schema(description = "数据质量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") + @ExcelProperty("数据质量") + private String dataQuality; + + @Schema(description = "数据时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") + @ExcelProperty("数据时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date dataTime; @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @ExcelProperty("创建时间") -- Gitblit v1.9.3