Преглед на файлове

QueryGtwithholddepositapply 接口增加排序

zhou.xiaoning преди 1 година
родител
ревизия
794ae82622
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      models/account.go

+ 1 - 0
models/account.go

@@ -1499,6 +1499,7 @@ func (r *Gtwithholddepositapply) buildSql() string {
 		sqlId.JoinFormat(" AND (t.trandate >= '%v' AND t.trandate <= '%v')", r.BeginDate, r.EndDate)
 	}
 	sqlId.AndEx("t.billresult", r.BILLRESULT, r.BILLRESULT != "")
+	sqlId.OrderByDesc("t.createtime")
 
 	sqlId.Page(r.Page, r.PageSize)
 	return sqlId.String()