|
@@ -37,9 +37,9 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC |
|
@@ -37,9 +37,9 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC |
37
|
gatewayUser := allied_creation_user.NewHttplibAlliedCreationUser(
|
37
|
gatewayUser := allied_creation_user.NewHttplibAlliedCreationUser(
|
38
|
cmd.Operator)
|
38
|
cmd.Operator)
|
39
|
users, err := gatewayUser.UserSearch(allied_creation_user.ReqUserSearch{
|
39
|
users, err := gatewayUser.UserSearch(allied_creation_user.ReqUserSearch{
|
40
|
- Limit: 1,
|
|
|
41
|
- Offset: 0,
|
|
|
42
|
- UserType: domain.UserTypeCooperation,
|
40
|
+ Limit: 1,
|
|
|
41
|
+ Offset: 0,
|
|
|
42
|
+ //UserType: domain.UserTypeCooperation,
|
43
|
UserBaseId: cmd.Operator.UserBaseId,
|
43
|
UserBaseId: cmd.Operator.UserBaseId,
|
44
|
})
|
44
|
})
|
45
|
if err != nil {
|
45
|
if err != nil {
|
|
@@ -91,7 +91,7 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer |
|
@@ -91,7 +91,7 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer |
91
|
Limit: 100,
|
91
|
Limit: 100,
|
92
|
Offset: 0,
|
92
|
Offset: 0,
|
93
|
UserBaseId: cmd.Operator.UserBaseId,
|
93
|
UserBaseId: cmd.Operator.UserBaseId,
|
94
|
- UserType: domain.UserTypeCooperation,
|
94
|
+ //UserType: domain.UserTypeCooperation,
|
95
|
})
|
95
|
})
|
96
|
if err != nil {
|
96
|
if err != nil {
|
97
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
97
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|