This commit is contained in:
zt
2025-02-26 18:49:16 +08:00
parent 65ce01c325
commit f6b8b0fe26

View File

@ -332,7 +332,7 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
bgtProjectRecruitApply.setStatus("7"); bgtProjectRecruitApply.setStatus("7");
if(baseMapper.updateById(bgtProjectRecruitApply) >0){ if(baseMapper.updateById(bgtProjectRecruitApply) >0){
Long appUserId = SecurityUtils.getAppUserId(); Long appUserId = SecurityUtils.getAppUserId();
BgtProjectRecruitApply by = iBgtProjectRecruitApplyService.selectByUserIdProjectRecruitApplyId(appUserId); BgtProjectRecruitApply by = selectByUserIdProjectRecruitApplyId(appUserId);
BgtProjectRecruit appById = iBgtProjectRecruitService.getAppById(by.getUserId()); BgtProjectRecruit appById = iBgtProjectRecruitService.getAppById(by.getUserId());
Map<String, String> mp = new HashMap<>(); Map<String, String> mp = new HashMap<>();
mp.put("projectName",appById.getRecruitName()); mp.put("projectName",appById.getRecruitName());
@ -370,7 +370,7 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
//1、获取当前用户 //1、获取当前用户
WgzUser byUserId = wgzUserService.findByUserId(SecurityUtils.getAppUserId()); WgzUser byUserId = wgzUserService.findByUserId(SecurityUtils.getAppUserId());
//2、当前申请报名的工地信息 //2、当前申请报名的工地信息
BgtProjectRecruitApply recruitApply = iBgtProjectRecruitApplyService.queryById(req.getRecruitApplyId()); BgtProjectRecruitApply recruitApply = queryById(req.getRecruitApplyId());
BgtProjectRecruit recruit = iBgtProjectRecruitService.getAppById(recruitApply.getId()); BgtProjectRecruit recruit = iBgtProjectRecruitService.getAppById(recruitApply.getId());
//3、更新报名状态 //3、更新报名状态
BgtProjectRecruitApply apply = new BgtProjectRecruitApply(); BgtProjectRecruitApply apply = new BgtProjectRecruitApply();