diff --git a/data/.cache/.data.db b/data/.cache/.data.db index 6bca4e43408efc49735f8e7645b04be49b0eeb9e..3d4d925072693c7749f7e31c376972411dffd0bc 100644 Binary files a/data/.cache/.data.db and b/data/.cache/.data.db differ diff --git a/data/system/address/v1.xlsx b/data/system/address/v1.xlsx index 283e0bb90a28cc8e6982370f730c3984174707a7..646bb0220e7c6ed4b76ee30ba619333464065497 100644 Binary files a/data/system/address/v1.xlsx and b/data/system/address/v1.xlsx differ diff --git a/src/gen/excel.go b/src/gen/excel.go index 1c72e0d475a49a077efa4c92633afd5ed9eccad2..dee79a401055f5088bf43075d05f025fdce53428 100644 --- a/src/gen/excel.go +++ b/src/gen/excel.go @@ -111,14 +111,14 @@ func ConvertExcelToSQLiteIfNeeded(dbName string, path string) { valList = valList + "(" for colIndex, colCell := range row { + if colIndex >= colCount { + break + } + if colIndex > 0 { valList = valList + ", " } valList = valList + "'" + colCell + "'" - - if colIndex >= colCount { - break - } } valList = valList + ")" }