From 5f815df137f6edaaaddf869097b7e2718324acc6 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 13 十月 2023 13:53:22 +0800 Subject: [PATCH] 跟进记录简单数据权限 --- service/serviceFollowup.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/service/serviceFollowup.go b/service/serviceFollowup.go index 1ae3722..46c52c9 100644 --- a/service/serviceFollowup.go +++ b/service/serviceFollowup.go @@ -41,13 +41,14 @@ return ecode.OK } -func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string) ([]*model.ServiceFollowup, int64, int) { +func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int) ([]*model.ServiceFollowup, int64, int) { // get contact list contacts, total, err := model.NewServiceFollowupSearch(). SetKeywordType(keywordType). SetKeyword(keyword). SetPage(page, pageSize). SetPreload(true). + SetServiceOrderId(serviceOrderId). FindAll() if err != nil { return nil, 0, ecode.ServiceFollowupListErr -- Gitblit v1.8.0