|
@@ -505,6 +505,9 @@ func GetEdbDataCountByCondition(condition string, pars []interface{}, source, su
|
|
|
func GetEdbDataListByCondition(condition string, pars []interface{}, source, subSource, pageSize, startSize int) (item []*EdbData, err error) {
|
|
|
o := orm.NewOrmUsingDB("data")
|
|
|
tableName := GetEdbDataTableName(source, subSource)
|
|
|
+ if source == utils.DATA_SOURCE_PREDICT {
|
|
|
+ tableName = "edb_data_predict_base"
|
|
|
+ }
|
|
|
sql := ` SELECT * FROM %s WHERE 1=1 `
|
|
|
sql = fmt.Sprintf(sql, tableName)
|
|
|
|