From 8091863a189a418183bcbf54fd11878f5df55f5d Mon Sep 17 00:00:00 2001 From: howell <2827207845@qq.com> Date: Mon, 21 Mar 2022 10:05:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/v2/logic/app/jyy/jyy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/v2/logic/app/jyy/jyy.go b/internal/v2/logic/app/jyy/jyy.go index 41c651b..ac64e0b 100644 --- a/internal/v2/logic/app/jyy/jyy.go +++ b/internal/v2/logic/app/jyy/jyy.go @@ -671,7 +671,7 @@ func (o logic) CompanyApplyList(args ApplyListReq) (res []company.Apply, total i Where("user_id = ?", args.ID). Where("created_at between ? and ?", start, end) query.Count(&total) - query.Order("id desc").Find(&res) + query.Order("id desc").Limit(args.GetLimit()).Offset(args.GetStart()).Find(&res) return }