|
@@ -262,7 +262,7 @@ public class UserApplicationService extends ServiceImpl<UserApplicationMapper, U
|
|
|
MtCompanyUser mtCompanyUser = mtCompanyUserService.getOne(new QueryWrapper<MtCompanyUser>()
|
|
|
.eq("mt_company_id", userApplyRequest.getCompanyId())
|
|
|
.eq("user_id", userApplyRequest.getUserId())
|
|
|
- .ne("status", ApiConstants.ApplicationConstants.APPLY_FAIL)
|
|
|
+ .eq("status", ApiConstants.ApplicationConstants.APPLY_PASS)
|
|
|
);
|
|
|
if (mtCompanyUser != null) {
|
|
|
return RestResponse.fail(ApiConstants.RESULT_ERROR, "用户已经在团队中了");
|