|
@@ -200,7 +200,7 @@ func (c *EdbBusinessController) AddCheck() {
|
|
|
existsEdb, e := data_manage.GetEdbCodesBySource(utils.DATA_SOURCE_BUSINESS)
|
|
|
if e != nil {
|
|
|
br.Msg = "获取失败"
|
|
|
- br.ErrMsg = "获取Bloomberg已添加的指标失败, Err: " + e.Error()
|
|
|
+ br.ErrMsg = "获取外部数据已添加的指标失败, Err: " + e.Error()
|
|
|
return
|
|
|
}
|
|
|
existMap := make(map[string]*data_manage.EdbInfo)
|
|
@@ -228,7 +228,7 @@ func (c *EdbBusinessController) AddCheck() {
|
|
|
list, e = obj.GeItemsByCondition(cond, pars, 0)
|
|
|
if e != nil {
|
|
|
br.Msg = "获取失败"
|
|
|
- br.ErrMsg = "获取Bloomberg原始指标列表失败, Err: " + e.Error()
|
|
|
+ br.ErrMsg = "获取外部数据原始指标列表失败, Err: " + e.Error()
|
|
|
return
|
|
|
}
|
|
|
} else {
|
|
@@ -272,7 +272,7 @@ func (c *EdbBusinessController) AddCheck() {
|
|
|
|
|
|
|
|
|
if codeLen > 0 {
|
|
|
- condition += fmt.Sprintf(` AND a.%s NOT IN (%s)`, data_manage.BaseFromBloombergIndexCols.IndexCode, utils.GetOrmInReplace(codeLen))
|
|
|
+ condition += fmt.Sprintf(` AND a.%s NOT IN (%s)`, data_manage.BaseFromBusinessIndexCols.IndexCode, utils.GetOrmInReplace(codeLen))
|
|
|
pars = append(pars, req.IndexCodes)
|
|
|
}
|
|
|
|