...
|
...
|
@@ -166,10 +166,13 @@ func (PartnerInfoService *PartnerInfoService) ListPartnerInfo(listPartnerInfoQue |
|
|
return 0, nil, lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
|
|
queryOption := domain.PartnerFindQuery{
|
|
|
Offset: listPartnerInfoQuery.Offset,
|
|
|
Limit: listPartnerInfoQuery.Limit,
|
|
|
PartnerCategory: []int{listPartnerInfoQuery.Partnertype},
|
|
|
PartnerName: listPartnerInfoQuery.PartnerName,
|
|
|
Offset: listPartnerInfoQuery.Offset,
|
|
|
Limit: listPartnerInfoQuery.Limit,
|
|
|
|
|
|
PartnerName: listPartnerInfoQuery.PartnerName,
|
|
|
}
|
|
|
if listPartnerInfoQuery.Partnertype > 0 {
|
|
|
queryOption.PartnerCategory = []int{listPartnerInfoQuery.Partnertype}
|
|
|
}
|
|
|
// RegionInfo
|
|
|
if len(listPartnerInfoQuery.RegionInfo) > 0 {
|
...
|
...
|
|