|
@@ -142,8 +142,13 @@ public class RecommendMgtServiceImpl implements RecommendMgtService {
|
|
if (data == null) {
|
|
if (data == null) {
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
-
|
|
|
|
data.setEntryState(state);
|
|
data.setEntryState(state);
|
|
|
|
+ if(state.equals(1)){
|
|
|
|
+ var curJobHuntInfo = pcJobhuntMapper.selectByPrimaryKey(data.getJobHuntID());
|
|
|
|
+ var curJobUserInfo = pcJobuserMapper.selectByPrimaryKey(curJobHuntInfo.getJobUserID());
|
|
|
|
+ curJobUserInfo.setJobStatusID(1);
|
|
|
|
+ pcJobuserMapper.updateByPrimaryKey(curJobUserInfo);
|
|
|
|
+ }
|
|
return pcRecommendMgtMapper.updateByPrimaryKey(data);
|
|
return pcRecommendMgtMapper.updateByPrimaryKey(data);
|
|
}
|
|
}
|
|
|
|
|