浏览代码

Merge branch 'feature/eta_1.8.2' into debug

hsun 11 月之前
父节点
当前提交
343ad921f1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/data_manage/edb_info.go

+ 1 - 1
models/data_manage/edb_info.go

@@ -1956,7 +1956,7 @@ func ModifyEdbInfoBaseTimeById(edbInfoId int, cTime time.Time) (err error) {
 // GetEdbCodesBySource 根据来源获取指标编码
 func GetEdbCodesBySource(source int) (items []*EdbInfo, err error) {
 	o := orm.NewOrmUsingDB("data")
-	sql := ` SELECT edb_info_id, edb_code, unique_code FROM edb_info WHERE source = ? `
+	sql := ` SELECT edb_info_id, edb_code, unique_code, classify_id FROM edb_info WHERE source = ? `
 	_, err = o.Raw(sql, source).QueryRows(&items)
 	return
 }