From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 24 十月 2022 13:48:24 +0800 Subject: [PATCH] #feat 修改别名 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngRealAssetsExcelVO.java | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngRealAssetsExcelVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngRealAssetsExcelVO.java index de93c7a..8d2c01b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngRealAssetsExcelVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngRealAssetsExcelVO.java @@ -1,9 +1,11 @@ package com.panzhihua.common.model.vos.community; -import com.alibaba.excel.annotation.ExcelProperty; -import lombok.Data; - import java.io.Serializable; +import java.math.BigDecimal; + +import com.alibaba.excel.annotation.ExcelProperty; + +import lombok.Data; /** * @description: 实有单位 @@ -13,26 +15,25 @@ @Data public class ComMngRealAssetsExcelVO implements Serializable { - - @ExcelProperty(value = "资产名称" ,index = 0) + @ExcelProperty(value = "资产名称", index = 0) private String name; - @ExcelProperty(value = "位置" ,index = 1) + @ExcelProperty(value = "位置", index = 1) private String address; - @ExcelProperty(value = "分类" ,index = 2) + @ExcelProperty(value = "分类", index = 2) private String category; - @ExcelProperty(value = "占地面积" ,index = 3) - private String square; + @ExcelProperty(value = "占地面积", index = 3) + private BigDecimal square; - @ExcelProperty(value = "数量" ,index = 4) + @ExcelProperty(value = "数量", index = 4) private Integer num; - @ExcelProperty(value = "建筑类型" ,index = 5) + @ExcelProperty(value = "建筑类型", index = 5) private String buildTypeName; - @ExcelProperty(value = "楼层类型" ,index = 6) + @ExcelProperty(value = "楼层类型", index = 6) private String floorType; } -- Gitblit v1.7.1