...
|
...
|
@@ -37,9 +37,9 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC |
|
|
gatewayUser := allied_creation_user.NewHttplibAlliedCreationUser(
|
|
|
cmd.Operator)
|
|
|
users, err := gatewayUser.UserSearch(allied_creation_user.ReqUserSearch{
|
|
|
Limit: 1,
|
|
|
Offset: 0,
|
|
|
UserType: domain.UserTypeCooperation,
|
|
|
Limit: 1,
|
|
|
Offset: 0,
|
|
|
//UserType: domain.UserTypeCooperation,
|
|
|
UserBaseId: cmd.Operator.UserBaseId,
|
|
|
})
|
|
|
if err != nil {
|
...
|
...
|
@@ -91,7 +91,7 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer |
|
|
Limit: 100,
|
|
|
Offset: 0,
|
|
|
UserBaseId: cmd.Operator.UserBaseId,
|
|
|
UserType: domain.UserTypeCooperation,
|
|
|
//UserType: domain.UserTypeCooperation,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
...
|
...
|
|