...
|
...
|
@@ -103,11 +103,12 @@ func (srv CooperationProjectService) SearchCooperationProject(projectQuery *comm |
|
|
func (srv CooperationProjectService) PersonSearchCooperationProject(projectQuery *command.PersonSearchCooperationProjectQuery) (int, interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
projectQuery.Operator)
|
|
|
orgidStr := strconv.Itoa(projectQuery.OrgId)
|
|
|
//orgidStr := strconv.Itoa(projectQuery.OrgId)
|
|
|
result, err := creationCooperationGateway.CooperationProjectsSearch(allied_creation_cooperation.ReqCooperationProjectSearch{
|
|
|
PageNumber: projectQuery.PageNumber,
|
|
|
PageSize: projectQuery.PageSize,
|
|
|
OrgIds: []string{orgidStr},
|
|
|
OrgId: projectQuery.OrgId,
|
|
|
UserBaseId: projectQuery.Operator.UserBaseId,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
...
|
...
|
|