master
huanghai 5 years ago
parent f35bcfa1ad
commit e68ef2cb46

@ -446,8 +446,18 @@ func checkExcel(excelPath string, s1 ExcelUtil.TemplateStruct, MapClass map[stri
}
}
//(4)性别
if j == 4 {
if row[j] != "男" && row[j] != "女" {
pass = false
}
}
//(5)出生日期
if j == 5 {
//是不是合法出生日期
if !DateUtil.CheckDateStr(row[j]) {
pass = false
}
}
//(6)民族
if j == 6 {

Loading…
Cancel
Save