作者 yangfu

天联共创个人用户首页统计修改

@@ -43,6 +43,7 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC @@ -43,6 +43,7 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC
43 Offset: 0, 43 Offset: 0,
44 UserType: domain.UserTypeCooperation | domain.UserTypeEmployee, 44 UserType: domain.UserTypeCooperation | domain.UserTypeEmployee,
45 UserBaseId: cmd.Operator.UserBaseId, 45 UserBaseId: cmd.Operator.UserBaseId,
  46 + EnableStatus: domain.UserStatusEnable,
46 }) 47 })
47 if err != nil { 48 if err != nil {
48 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 49 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
@@ -106,6 +107,7 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer @@ -106,6 +107,7 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer
106 Limit: 100, 107 Limit: 100,
107 Offset: 0, 108 Offset: 0,
108 UserBaseId: cmd.Operator.UserBaseId, 109 UserBaseId: cmd.Operator.UserBaseId,
  110 + EnableStatus: domain.UserStatusEnable,
109 //UserType: domain.UserTypeCooperation, 111 //UserType: domain.UserTypeCooperation,
110 }) 112 })
111 if err != nil { 113 if err != nil {