Merge branch 'feature_sign_up' into test
# Conflicts: # pkg/application/mobile/cooperation/service/cooperation_projects.go # pkg/application/mobile/cooperation/service/statistics_person.go # pkg/infrastructure/service_gateway/allied_creation_cooperation/param_cooperation_project.go
正在显示
3 个修改的文件
包含
8 行增加
和
1 行删除
| @@ -112,11 +112,12 @@ func (srv CooperationProjectService) PersonSearchCooperationProject(projectQuery | @@ -112,11 +112,12 @@ func (srv CooperationProjectService) PersonSearchCooperationProject(projectQuery | ||
| 112 | PageNumber: projectQuery.PageNumber + 1, //手机序号从0开始的 | 112 | PageNumber: projectQuery.PageNumber + 1, //手机序号从0开始的 |
| 113 | PageSize: projectQuery.PageSize, | 113 | PageSize: projectQuery.PageSize, |
| 114 | OrgId: projectQuery.OrgId, | 114 | OrgId: projectQuery.OrgId, |
| 115 | - //Status: 1, //搜索状态为“招标中”项目 | 115 | + Status: 1, //搜索状态为“招标中”项目 |
| 116 | Keyword: projectQuery.Keyword, | 116 | Keyword: projectQuery.Keyword, |
| 117 | SearchCooperationProjectExtQueriesFlag: 1, | 117 | SearchCooperationProjectExtQueriesFlag: 1, |
| 118 | SearchCooperationProjectExtQueries: extQueries, | 118 | SearchCooperationProjectExtQueries: extQueries, |
| 119 | SortByStatus: 1, | 119 | SortByStatus: 1, |
| 120 | + IsSkipFetchProjectModel: true, | ||
| 120 | }) | 121 | }) |
| 121 | if err != nil { | 122 | if err != nil { |
| 122 | return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) | 123 | return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) |
| @@ -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 { |
| @@ -181,6 +183,8 @@ func (srv PersonStatisticsService) CooperationProjectRecommend(projectQuery *com | @@ -181,6 +183,8 @@ func (srv PersonStatisticsService) CooperationProjectRecommend(projectQuery *com | ||
| 181 | PageNumber: projectQuery.PageNumber + 1, | 183 | PageNumber: projectQuery.PageNumber + 1, |
| 182 | PageSize: projectQuery.PageSize, | 184 | PageSize: projectQuery.PageSize, |
| 183 | CooperationProjectUndertakerType: 3, | 185 | CooperationProjectUndertakerType: 3, |
| 186 | + Status: 1, | ||
| 187 | + IsSkipFetchProjectModel: true, | ||
| 184 | // Status: 1, | 188 | // Status: 1, |
| 185 | SortByStatus: 1, | 189 | SortByStatus: 1, |
| 186 | }) | 190 | }) |
| @@ -214,6 +214,8 @@ type ( | @@ -214,6 +214,8 @@ type ( | ||
| 214 | SearchCooperationProjectExtQueries []*SearchCooperationProjectExtQuery `cname:"额外的查询条件" json:"searchCooperationProjectExtQueries"` | 214 | SearchCooperationProjectExtQueries []*SearchCooperationProjectExtQuery `cname:"额外的查询条件" json:"searchCooperationProjectExtQueries"` |
| 215 | // 按共创项目状态排序 | 215 | // 按共创项目状态排序 |
| 216 | SortByStatus int32 `cname:"按共创项目状态排序" json:"sortByStatus,omitempty"` | 216 | SortByStatus int32 `cname:"按共创项目状态排序" json:"sortByStatus,omitempty"` |
| 217 | + // 是否跳过获取共创模式 | ||
| 218 | + IsSkipFetchProjectModel bool `cname:"是否跳过获取共创模式" json:"isSkipFetchProjectModel,omitempty"` | ||
| 217 | } | 219 | } |
| 218 | DataCooperationProjectSearchItem struct { | 220 | DataCooperationProjectSearchItem struct { |
| 219 | CooperationProjectID string `json:"cooperationProjectId"` | 221 | CooperationProjectID string `json:"cooperationProjectId"` |
-
请 注册 或 登录 后发表评论