@ -630,7 +630,11 @@ func readToTable(excelPath string, s1 ExcelUtil.TemplateStruct, MapClass map[str
//批次号
m.BatchId = batchId
//人员ID
m.PersonId = row[16]
if len(row) == 16 {
} else {
m.PersonId = ""
}
//第几行的数据
m.RowNumber = int32(i + 1)
//添加到数组中
@ -556,7 +556,11 @@ func readToTable(excelPath string, s1 ExcelUtil.TemplateStruct, MapOrgName map[s
//联系电话
m.Lxdh = row[14]
m.PersonId = row[15]
if len(row) == 15 {