合并分支 'dev' 到 'test'
fix:共创项目返回的承接人 查看合并请求 !53
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论