fix: 学生导入模板出生年月改为出生日期(YYYY-MM-DD)
This commit is contained in:
parent
4eea1eef34
commit
eb7ef037f0
|
|
@ -119,7 +119,7 @@ public class PgStudentController extends BaseController {
|
|||
sample.setGradeName("高一");
|
||||
sample.setClassName("1班");
|
||||
sample.setGender("男");
|
||||
sample.setBirthday("2010-01");
|
||||
sample.setBirthday("2010-01-15");
|
||||
sampleData.add(sample);
|
||||
|
||||
ExcelUtil.exportExcel(sampleData, "学生导入模板", StudentImportDto.class, response);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class StudentImportDto {
|
|||
@ColumnWidth(8)
|
||||
private String gender;
|
||||
|
||||
@ExcelProperty(value = "出生年月", index = 8)
|
||||
@ExcelProperty(value = "出生日期", index = 8)
|
||||
@ColumnWidth(12)
|
||||
private String birthday;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue