作者 陈志颖

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

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