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 --- api/v1/salesDetails.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/api/v1/salesDetails.go b/api/v1/salesDetails.go index f5c69eb..1fbf0d9 100644 --- a/api/v1/salesDetails.go +++ b/api/v1/salesDetails.go @@ -159,6 +159,7 @@ salesDetailsModel.LogisticCost = salesDetails.LogisticCost salesDetailsModel.CodeStandID = salesDetails.CodeStandID salesDetailsModel.DeliverType = salesDetails.DeliverType + salesDetailsModel.QuotationId = salesDetails.QuotationId return ecode.OK, salesDetailsModel } @@ -181,7 +182,7 @@ var memberIds []int userInfo := utils.GetUserInfo(c) if userInfo.UserType == constvar.UserTypeSub { - memberIds = []int{userInfo.CrmUserId} + memberIds = userInfo.SubUserIds } salesDetailss, total, errCode := salesDetailsService.GetSalesDetailsList(params, memberIds) -- Gitblit v1.8.0