From 530fed8ec225453572d57b15c200ab062c335457 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 01 十一月 2023 19:20:21 +0800 Subject: [PATCH] 公海member_id使用0 --- service/serviceContract.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/service/serviceContract.go b/service/serviceContract.go index 1ef53c8..c4fed1c 100644 --- a/service/serviceContract.go +++ b/service/serviceContract.go @@ -117,7 +117,7 @@ return ecode.OK } -func (SContractService) GetServiceContractList(params request.GetServiceContractList) ([]*model.ServiceContract, int64, int) { +func (SContractService) GetServiceContractList(params request.GetServiceContractList, memberIds []int) ([]*model.ServiceContract, int64, int) { // get contact list contacts, total, err := model.NewServiceContractSearch(). SetKeyword(params.Keyword). @@ -128,6 +128,7 @@ SetQuotationId(params.QuotationId). SetSaleChanceId(params.SaleChanceId). SetContactId(params.ContactId). + SetMemberIds(memberIds). SetPreload(true). Find() if err != nil { -- Gitblit v1.8.0