소스 검색

修复国能数据同步问题并优化数据获取

- 添加修复数据功能,同步国能平台的原始指标编码
- 优化国能数据
Roc 6 달 전
부모
커밋
19de413097
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/index/edb_update_log.go

+ 1 - 1
models/index/edb_update_log.go

@@ -104,6 +104,6 @@ func GetAllBaseEdbInfo() (item []*EdbInfo, err error) {
 // @param cols
 // @return err
 func (m *EdbInfo) Update(cols []string) (err error) {
-	err = global.MYSQL["data"].Select(cols).Updates(m).Error
+	err = global.MYSQL["index"].Select(cols).Updates(m).Error
 	return
 }