From 9ec9a4987cb5fe4a3bd39d61029add5c51d3ab92 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期六, 02 十二月 2023 11:00:26 +0800
Subject: [PATCH] 添加来源

---
 service/serviceFollowup.go |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/service/serviceFollowup.go b/service/serviceFollowup.go
index bdcb710..fede335 100644
--- a/service/serviceFollowup.go
+++ b/service/serviceFollowup.go
@@ -41,12 +41,16 @@
 	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, memberIds []int) ([]*model.ServiceFollowup, int64, int) {
 	// get contact list
 	contacts, total, err := model.NewServiceFollowupSearch().
 		SetKeywordType(keywordType).
 		SetKeyword(keyword).
-		SetPage(page, pageSize).FindAll()
+		SetPage(page, pageSize).
+		SetPreload(true).
+		SetServiceOrderId(serviceOrderId).
+		SetMemberIds(memberIds).
+		FindAll()
 	if err != nil {
 		return nil, 0, ecode.ServiceFollowupListErr
 	}

--
Gitblit v1.8.0