From 13194e787d51e4ce07dfc35341d536fb5db7aaa3 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 13 十月 2023 15:05:29 +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 46c52c9..fede335 100644 --- a/service/serviceFollowup.go +++ b/service/serviceFollowup.go @@ -41,7 +41,7 @@ return ecode.OK } -func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int) ([]*model.ServiceFollowup, int64, int) { +func (FollowupService) GetServiceFollowupList(page, pageSize int, keywordType constvar.ServiceFollowupKeywordType, keyword string, serviceOrderId int, memberIds []int) ([]*model.ServiceFollowup, int64, int) { // get contact list contacts, total, err := model.NewServiceFollowupSearch(). SetKeywordType(keywordType). @@ -49,6 +49,7 @@ SetPage(page, pageSize). SetPreload(true). SetServiceOrderId(serviceOrderId). + SetMemberIds(memberIds). FindAll() if err != nil { return nil, 0, ecode.ServiceFollowupListErr -- Gitblit v1.8.0