Compare commits

..

No commits in common. "ff3c5c0312351ad8f25bde4900865c6b0a41aa19" and "6ab28792ec6e5c00e3f170d8eaf974b7711b180c" have entirely different histories.

View File

@ -52,9 +52,9 @@ func ImportSupplier(filePath string) ([]*SupplierLogic, error) {
//开辟除表头外的行数的数组内存
objMap := make(map[int]string)
//if len(row.Cells) <= 0 || row.Cells[0].String() == "" {
// continue
//}
if len(row.Cells) <= 0 || row.Cells[0].String() == "" {
continue
}
for cellIndex, cell := range row.Cells {
text := cell.String()
//如果是每一行的第一个单元格