作者 yangfu

参与人数修改

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