|
@@ -437,12 +437,12 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st |
|
@@ -437,12 +437,12 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st |
437
|
var contractNumbers []string
|
437
|
var contractNumbers []string
|
438
|
var err error
|
438
|
var err error
|
439
|
if request.OrgId > 0 && request.UserId > 0 {
|
439
|
if request.OrgId > 0 && request.UserId > 0 {
|
440
|
- contractNumbers, err = ptr.getRelevantContracts(map[string]interface{}{"orgId": request.OrgId, "userId": request.UserId})
|
440
|
+ contractNumbers, err = ptr.getRelevantContracts(map[string]interface{}{"orgId": request.OrgId, "userId": request.UserId, "offsetLimit": false})
|
441
|
if err != nil {
|
441
|
if err != nil {
|
442
|
return struct{}{}, err
|
442
|
return struct{}{}, err
|
443
|
}
|
443
|
}
|
444
|
} else if request.UserBaseId > 0 {
|
444
|
} else if request.UserBaseId > 0 {
|
445
|
- contractNumbers, err = ptr.getUnderTakerContracts(map[string]interface{}{"orgId": request.OrgId, "userBaseId": request.UserBaseId})
|
445
|
+ contractNumbers, err = ptr.getUnderTakerContracts(map[string]interface{}{"orgId": request.OrgId, "userBaseId": request.UserBaseId, "offsetLimit": false})
|
446
|
if err != nil {
|
446
|
if err != nil {
|
447
|
return struct{}{}, err
|
447
|
return struct{}{}, err
|
448
|
}
|
448
|
}
|
|
@@ -565,12 +565,12 @@ func (ptr *CooperationStatisticsService) SearchDividendsEstimates(queryOptions m |
|
@@ -565,12 +565,12 @@ func (ptr *CooperationStatisticsService) SearchDividendsEstimates(queryOptions m |
565
|
var contractNumbers []string
|
565
|
var contractNumbers []string
|
566
|
var err error
|
566
|
var err error
|
567
|
if request.OrgId > 0 && request.UserId > 0 {
|
567
|
if request.OrgId > 0 && request.UserId > 0 {
|
568
|
- contractNumbers, err = ptr.getRelevantContracts(map[string]interface{}{"orgId": request.OrgId, "userId": request.UserId})
|
568
|
+ contractNumbers, err = ptr.getRelevantContracts(map[string]interface{}{"orgId": request.OrgId, "userId": request.UserId, "offsetLimit": false})
|
569
|
if err != nil {
|
569
|
if err != nil {
|
570
|
return struct{}{}, err
|
570
|
return struct{}{}, err
|
571
|
}
|
571
|
}
|
572
|
} else if request.UserBaseId > 0 {
|
572
|
} else if request.UserBaseId > 0 {
|
573
|
- contractNumbers, err = ptr.getUnderTakerContracts(map[string]interface{}{"orgId": request.OrgId, "userBaseId": request.UserBaseId})
|
573
|
+ contractNumbers, err = ptr.getUnderTakerContracts(map[string]interface{}{"orgId": request.OrgId, "userBaseId": request.UserBaseId, "offsetLimit": false})
|
574
|
if err != nil {
|
574
|
if err != nil {
|
575
|
return struct{}{}, err
|
575
|
return struct{}{}, err
|
576
|
}
|
576
|
}
|