Update supplier.go

This commit is contained in:
JNG 2026-01-13 11:27:28 +08:00
parent f4a3d39df6
commit 0562f21c3b

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()
//如果是每一行的第一个单元格