@@ -99,6 +99,13 @@ func SmmIndexHandle(baseFilePath, renameFilePath, indexName, indexCode, unit, fr
updateParams["terminal_code"] = terminalCode
updateParams["modify_time"] = time.Now()
+ if baseFilePath != `` && item.BaseFileName != baseFilePath {
+ updateParams["base_file_name"] = baseFilePath
+ }
+ if renameFilePath != `` && item.RenameFileName != renameFilePath {
+ updateParams["rename_file_name"] = renameFilePath
+
whereParam := make(map[string]interface{})
whereParam["index_code"] = indexCode