mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
skip empty line
This commit is contained in:
@@ -134,7 +134,7 @@ func (c *DataTableTransactionDataConverter) parseImportedData(user *models.User,
|
|||||||
dataRow := dataRowIterator.Next()
|
dataRow := dataRowIterator.Next()
|
||||||
columnCount := dataRow.ColumnCount()
|
columnCount := dataRow.ColumnCount()
|
||||||
|
|
||||||
if columnCount < 1 {
|
if columnCount < 1 || (columnCount == 1 && dataRow.GetData(0) == "") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user