瀏覽代碼

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()