@@ -135,6 +135,12 @@ func GetEdbInfoSortList(condition string, pars []interface{}, startSize, pageSiz
if condition != "" {
sql += condition
}
+ if orderField == "" {
+ orderField = "create_date"
+ }
+ if orderType == "" {
+ orderType = "DESC"
sql += ` ORDER BY a.` + orderField + ` ` + orderType
if pageSize > 0 {