作者 yangfu

参与人数修改

@@ -365,7 +365,7 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec @@ -365,7 +365,7 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec
365 "cooperationProjectNumber": cooperationProject.CooperationProjectNumber, 365 "cooperationProjectNumber": cooperationProject.CooperationProjectNumber,
366 "companyId": cooperationProject.Company.CompanyId, 366 "companyId": cooperationProject.Company.CompanyId,
367 "orgId": cooperationProject.Org.OrgId, 367 "orgId": cooperationProject.Org.OrgId,
368 - "offsetLimit": false, 368 + "offsetLimit": false,
369 }); err != nil { 369 }); err != nil {
370 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 370 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
371 } else { 371 } else {
@@ -419,7 +419,7 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec @@ -419,7 +419,7 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec
419 }) 419 })
420 userType := cooperationApplication.CooperationApplicationApplicant.UserType & 1 420 userType := cooperationApplication.CooperationApplicationApplicant.UserType & 1
421 fmt.Printf("用户类型值: %d\n", userType) 421 fmt.Printf("用户类型值: %d\n", userType)
422 - if (userType == 1 || cooperationApplication.CooperationApplicationApplicant.UserType == 2) && cooperationApplication.CooperationApplicationStatus == 2 { // 申请人中的员工类型,审核中通过的 422 + if (userType == 1 || cooperationApplication.CooperationApplicationApplicant.UserType == 2 || cooperationApplication.CooperationApplicationApplicant.UserType == 4) && cooperationApplication.CooperationApplicationStatus == 2 { // 申请人中的员工类型,审核中通过的
423 applicants = append(applicants, cooperationApplication.CooperationApplicationApplicant) 423 applicants = append(applicants, cooperationApplication.CooperationApplicationApplicant)
424 } 424 }
425 } 425 }