Compare commits

...

2 Commits

Author SHA1 Message Date
JNG
ff3c5c0312 Merge branch 'jng-supplier-0105' into dev 2026-01-13 11:27:35 +08:00
JNG
0562f21c3b Update supplier.go 2026-01-13 11:27:28 +08:00

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