|
@@ -10,7 +10,7 @@ import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
-func SmmIndexHandle(baseFilePath, renameFilePath, indexName, indexCode, unit, frequency string, excelDataMap map[string]string) {
|
|
|
+func SmmIndexHandle(baseFilePath, renameFilePath, indexName, indexCode, unit, frequency, source string, excelDataMap map[string]string) {
|
|
|
var err error
|
|
|
|
|
|
errMsgList := make([]string, 0)
|
|
@@ -63,6 +63,7 @@ func SmmIndexHandle(baseFilePath, renameFilePath, indexName, indexCode, unit, fr
|
|
|
indexObj.IndexName = indexName
|
|
|
indexObj.Unit = unit
|
|
|
indexObj.Frequency = frequency
|
|
|
+ indexObj.Interface = source
|
|
|
indexObj.ModifyTime = time.Now()
|
|
|
indexObj.CreateTime = time.Now()
|
|
|
indexObj.BaseFileName = baseFilePath
|