Merge remote-tracking branch 'origin/master'
This commit is contained in:
@ -381,6 +381,10 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
|
|||||||
public Boolean quit(Long id) {
|
public Boolean quit(Long id) {
|
||||||
BgtProjectRecruitApply recruitApply = getById(id);
|
BgtProjectRecruitApply recruitApply = getById(id);
|
||||||
BgtProjectRecruit recruit = iBgtProjectRecruitService.getById(recruitApply.getRecruitId());
|
BgtProjectRecruit recruit = iBgtProjectRecruitService.getById(recruitApply.getRecruitId());
|
||||||
|
if(RecruitStatus.FULL.getCode().equals(recruit.getStatus())){
|
||||||
|
recruit.setStatus(RecruitStatus.PROGRESS.getCode());
|
||||||
|
iBgtProjectRecruitService.updateById(recruit);
|
||||||
|
}
|
||||||
|
|
||||||
//发消息
|
//发消息
|
||||||
HashMap<String, String> mp = new HashMap<>();
|
HashMap<String, String> mp = new HashMap<>();
|
||||||
@ -410,6 +414,13 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
|
|||||||
public Boolean cancel(Long id) {
|
public Boolean cancel(Long id) {
|
||||||
BgtProjectRecruitApply recruitApply = getById(id);
|
BgtProjectRecruitApply recruitApply = getById(id);
|
||||||
BgtProjectRecruit recruit = iBgtProjectRecruitService.getById(recruitApply.getRecruitId());
|
BgtProjectRecruit recruit = iBgtProjectRecruitService.getById(recruitApply.getRecruitId());
|
||||||
|
if(RecruitStatus.FULL.getCode().equals(recruit.getStatus())
|
||||||
|
&& RecruitApplyStatus.WGZ_PASS.getCode().equals(recruitApply.getStatus())){
|
||||||
|
recruit.setStatus(RecruitStatus.PROGRESS.getCode());
|
||||||
|
iBgtProjectRecruitService.updateById(recruit);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//发消息
|
//发消息
|
||||||
HashMap<String, String> mp = new HashMap<>();
|
HashMap<String, String> mp = new HashMap<>();
|
||||||
|
Reference in New Issue
Block a user