作者 陈志颖

fix:共创项目返回的承接人

... ... @@ -367,7 +367,7 @@ func (cooperationProjectService *CooperationProjectService) GetCooperationProjec
})
userType := cooperationApplication.CooperationApplicationApplicant.UserType & 1
fmt.Printf("用户类型值: %d\n", userType)
if userType == 1 && cooperationApplication.CooperationApplicationStatus == 2 { // 申请人中的员工类型,审核中通过的
if (userType == 1 || cooperationApplication.CooperationApplicationApplicant.UserType == 2) && cooperationApplication.CooperationApplicationStatus == 2 { // 申请人中的员工类型,审核中通过的
applicants = append(applicants, cooperationApplication.CooperationApplicationApplicant)
}
}
... ...