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