Commit b6fb98c1 authored by huyuchen's avatar huyuchen

huych-电子档案批量导入第五次提交

parent 30b1912b
......@@ -27,7 +27,7 @@ public class ArchiveImportVO extends RowIndex implements Serializable {
* 身份证号码
*/
@ExcelAttribute(name = "身份证号码", isNotEmpty = true, errorInfo = "身份证号码不能为空", maxLength = 18)
@ExcelProperty(value = "身份证号码", index = 0)
@ExcelProperty(value = "身份证号码")
@NotBlank(message = "身份证号码不能为空")
@Schema(description = "身份证号码")
private String empIdcard;
......@@ -36,7 +36,7 @@ public class ArchiveImportVO extends RowIndex implements Serializable {
* 姓名
*/
@ExcelAttribute(name = "姓名", isNotEmpty = true, errorInfo = "姓名不能为空", maxLength = 32)
@ExcelProperty(value = "姓名", index = 1)
@ExcelProperty(value = "姓名")
@NotBlank(message = "姓名不能为空")
@Schema(description = "姓名")
private String empName;
......@@ -45,7 +45,7 @@ public class ArchiveImportVO extends RowIndex implements Serializable {
* 项目编码
*/
@ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码不能为空", maxLength = 50)
@ExcelProperty(value = "项目编码", index = 2)
@ExcelProperty(value = "项目编码")
@NotBlank(message = "项目编码不能为空")
@Schema(description = "项目编码")
private String deptNo;
......@@ -54,7 +54,7 @@ public class ArchiveImportVO extends RowIndex implements Serializable {
* 项目名称
*/
@ExcelAttribute(name = "项目名称", isNotEmpty = true, errorInfo = "项目名称不能为空", maxLength = 50)
@ExcelProperty(value = "项目名称", index = 3)
@ExcelProperty(value = "项目名称")
@NotBlank(message = "项目名称不能为空")
@Schema(description = "项目名称")
private String deptName;
......
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