Commit 5d06204a authored by huyuchen's avatar huyuchen

huych-入离职登记提交

parent 42ce66d1
......@@ -70,7 +70,8 @@ public class EmployeeRegistrationVo extends RowIndex implements Serializable {
/**
* 入/离职日期
*/
@ExcelAttribute(name = "入/离职日期", isDate = true)
@NotBlank(message = "入/离职日期不能为空")
@ExcelAttribute(name = "入/离职日期", isNotEmpty = true, errorInfo = "入/离职日期不能为空", isDate = true)
@Schema(description = "入/离职日期")
@ExcelProperty("入/离职日期")
private Date joinLeaveDate;
......
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