|
@@ -169,7 +169,7 @@ func ImportDataByExcel(mf multipart.File, eid int64, entid string) (int, int64,
|
|
if cell.Type() == xlsx.CellTypeNumeric {
|
|
if cell.Type() == xlsx.CellTypeNumeric {
|
|
date, err := cell.GetTime(false)
|
|
date, err := cell.GetTime(false)
|
|
if err != nil {
|
|
if err != nil {
|
|
- fmt.Println("Error getting date:", err)
|
|
|
|
|
|
+ log.Debug("Error getting date:", err)
|
|
} else {
|
|
} else {
|
|
tmp[fMap[index]] = date.Format(time.DateOnly)
|
|
tmp[fMap[index]] = date.Format(time.DateOnly)
|
|
}
|
|
}
|