Update supplier.go
This commit is contained in:
parent
f4a3d39df6
commit
0562f21c3b
@ -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()
|
||||
//如果是每一行的第一个单元格
|
||||
|
||||
Loading…
Reference in New Issue
Block a user