...
|
...
|
@@ -229,7 +229,7 @@ func (PartnerInfoService *PartnerInfoService) UpdatePartnerInfo(cmd *command.Upd |
|
|
return
|
|
|
}
|
|
|
|
|
|
// 返回客户价值列表
|
|
|
// ListPartnerInfo 合伙人列表
|
|
|
func (PartnerInfoService *PartnerInfoService) ListPartnerInfo(listPartnerInfoQuery *query.ListPartnerInfoQuery) (int, []domain.PartnerInfo, error) {
|
|
|
var (
|
|
|
transactionContext, _ = factory.CreateTransactionContext(nil)
|
...
|
...
|
@@ -267,6 +267,7 @@ func (PartnerInfoService *PartnerInfoService) ListPartnerInfo(listPartnerInfoQue |
|
|
Offset: listPartnerInfoQuery.Offset,
|
|
|
Limit: listPartnerInfoQuery.Limit,
|
|
|
PartnerName: listPartnerInfoQuery.PartnerName,
|
|
|
CompanyId: listPartnerInfoQuery.CompanyId,
|
|
|
}
|
|
|
if listPartnerInfoQuery.Partnertype > 0 {
|
|
|
queryOption.PartnerCategory = []int{listPartnerInfoQuery.Partnertype}
|
...
|
...
|
|