|
@@ -255,7 +255,7 @@ func GetHisugarIndexViewList(condition string, pars []interface{}, startSize, pa
|
|
|
sql := ` SELECT b.*, e.edb_info_id,
|
|
|
CASE WHEN e.edb_info_id IS NULL THEN 0 ELSE 1 END AS edb_exist
|
|
|
FROM base_from_hisugar_index AS b
|
|
|
- LEFT JOIN edb_info AS e ON b.index_code=e.edb_code AND e.source=89
|
|
|
+ LEFT JOIN edb_info AS e ON b.index_code=e.edb_code AND e.source=93
|
|
|
WHERE 1=1 `
|
|
|
if condition != "" {
|
|
|
sql += condition
|
|
@@ -270,7 +270,7 @@ func GetHisugarIndexViewListCount(condition string, pars []interface{}) (count i
|
|
|
o := orm.NewOrmUsingDB("data")
|
|
|
sql := ` SELECT COUNT(1) AS count
|
|
|
FROM base_from_hisugar_index AS b
|
|
|
- LEFT JOIN edb_info AS e ON b.index_code=e.edb_code AND e.source=89
|
|
|
+ LEFT JOIN edb_info AS e ON b.index_code=e.edb_code AND e.source=93
|
|
|
WHERE 1=1 `
|
|
|
if condition != "" {
|
|
|
sql += condition
|