Commit a68a5c85 authored by chenhao's avatar chenhao

添加之前缺失的excle导出,枚举值获取方法 by 陈浩 2021-08-04

parent 308ecb23
...@@ -55,11 +55,12 @@ public class KeySiteExcleDto implements Serializable { ...@@ -55,11 +55,12 @@ public class KeySiteExcleDto implements Serializable {
@ExcelProperty(value = "建筑高度(m)", index = 5) @ExcelProperty(value = "建筑高度(m)", index = 5)
@ApiModelProperty(value = "建筑高度(m)") @ApiModelProperty(value = "建筑高度(m)")
private String buildingHeight; private String buildingHeight;
@ExplicitConstraint(type = "NHDJ", indexNum =6, sourceClass = RoleNameExplicitConstraint.class) //动态下拉内容
@ExcelProperty(value = "耐火等级", index = 6) @ExcelProperty(value = "耐火等级", index = 6)
@ApiModelProperty(value = "耐火等级") @ApiModelProperty(value = "耐火等级")
private String fireEnduranceRate; private String fireEnduranceRate;
@ExplicitConstraint(type = "JZWSYXZ", indexNum =7, sourceClass = RoleNameExplicitConstraint.class) //动态下拉内容
@ExcelProperty(value = "使用性质", index = 7) @ExcelProperty(value = "使用性质", index = 7)
@ApiModelProperty(value = "使用性质") @ApiModelProperty(value = "使用性质")
private String useNature; private String useNature;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment