Browse Source

修复bug

master
前端-胡立永 2 weeks ago
parent
commit
7586df6f26
1 changed files with 12 additions and 2 deletions
  1. +12
    -2
      module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java

+ 12
- 2
module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java View File

@ -1427,14 +1427,24 @@ public class ApiIndexServiceImpl implements ApiIndexService {
if(byId==null){
return Result.error("招募标识错误");
}
//根据用户标识查询主理人信息
PopularizeAuthentication one = popularizeAuthenticationService.lambdaQuery()
.eq(PopularizeAuthentication::getUserId, hanHaiMember.getId())
.eq(PopularizeAuthentication::getState, "1")
// .eq(PopularizeAuthentication::getState, "1")
.one();
if(one==null){
if(one == null){
return Result.error("您还不是主理人,请先认证");
}
if(one.getState() == 0){
return Result.error("正在审核中,请耐心等待");
}
if(one.getState() == 2){
return Result.error("主理人身份已驳回,请重新提交");
}
//查询是否已经点击了招募
PopularizeRecruitLog one1 = popularizeRecruitLogService.lambdaQuery()
.eq(PopularizeRecruitLog::getUserId, hanHaiMember.getId())


Loading…
Cancel
Save