From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 06 一月 2025 16:00:58 +0800
Subject: [PATCH] chartParamList api

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/vo/PointImportExcelVO.java |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/vo/PointImportExcelVO.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/vo/PointImportExcelVO.java
index ee99bb8..902d3f7 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/vo/PointImportExcelVO.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/vo/PointImportExcelVO.java
@@ -1,6 +1,9 @@
 package com.iailab.module.data.point.vo;
 
 import com.alibaba.excel.annotation.ExcelProperty;
+import com.iailab.framework.excel.core.annotations.DictFormat;
+import com.iailab.framework.excel.core.annotations.ExcelColumnSelect;
+import com.iailab.framework.excel.core.convert.DictConvert;
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.AllArgsConstructor;
 import lombok.Builder;
@@ -26,10 +29,14 @@
     @ExcelProperty("测点名称")
     private String pointName;
 
-    @ExcelProperty("测点类型")
+    @ExcelProperty(value = "测点类型", converter = DictConvert.class)
+    @ExcelColumnSelect(dictType = "data_point_type")
+    @DictFormat("data_point_type")
     private String pointType;
 
-    @ExcelProperty("数据类型")
+    @ExcelProperty(value = "数据类型", converter = DictConvert.class)
+    @ExcelColumnSelect(dictType = "point_data_type")
+    @DictFormat("point_data_type")
     private String dataType;
 
     @ExcelProperty("存储类型")
@@ -57,7 +64,9 @@
     @ExcelProperty("备注")
     private String remark;
 
-    @ExcelProperty("数据源类型")
+    @ExcelProperty(value = "数据源类型", converter = DictConvert.class)
+    @ExcelColumnSelect(dictType = "data_source_type")
+    @DictFormat("data_source_type")
     private String sourceType;
 
     @ExcelProperty("数据源名称")
@@ -69,10 +78,21 @@
     @ExcelProperty("平滑尺度")
     private Integer dimension;
 
-    @ExcelProperty("值类型")
+    @ExcelProperty(value = "值类型", converter = DictConvert.class)
+    @ExcelColumnSelect(dictType = "measure_value_type")
+    @DictFormat("measure_value_type")
     private String valueType;
 
     @ExcelProperty("计算公式")
     private String expression;
 
+    @ExcelProperty("瞬时测点")
+    private String momentPoint;
+
+    @ExcelProperty("累计长度")
+    private Integer length;
+
+    @ExcelProperty("除数")
+    private Integer divisor;
+
 }

--
Gitblit v1.9.3