Compare commits
2 Commits
6ab28792ec
...
ff3c5c0312
| Author | SHA1 | Date | |
|---|---|---|---|
| ff3c5c0312 | |||
| 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