敏感及重要用户导入

This commit is contained in:
2024-06-05 14:50:34 +08:00
parent 8b45195615
commit 84d3f108ad
3 changed files with 11 additions and 7 deletions

View File

@@ -14,7 +14,8 @@ public class SensitiveUserExcel implements Serializable {
/**
* 所属地市
*/
@Excel(name = "供电单位", width = 30)
@Excel(name = "*供电单位", width = 30)
@NotBlank(message = "供电单位不能为空")
private String city;
/**
@@ -34,7 +35,7 @@ public class SensitiveUserExcel implements Serializable {
/**
* 用户状态
*/
@Excel(name = "用户状态", width = 20, replace = {"可研_0", "建设_1", "运行_2", "退运_3"})
@Excel(name = "用户状态", width = 20, replace = {"可研_0", "建设_1", "运行_2", "退运_3", "_null"})
private Integer userStatus;
/**