|
@@ -276,17 +276,19 @@ public class JobApiController {
|
|
|
JobEnterpriseRelation jobEnterpriseRelation = jobEnterpriseRelationService.findByEnterpriseIdAndJobInformationId(user.getEnterpriseId(),id);
|
|
|
if(jobEnterpriseRelation != null) {
|
|
|
isInvite = true;
|
|
|
- if("1".equals(isRead)) {
|
|
|
- RecruitPersonRelation recruitPersonRelation = recruitPersonRelationService.get(rprId);
|
|
|
- if(recruitPersonRelation != null) {
|
|
|
- recruitPersonRelation.setIsRead(true);
|
|
|
- recruitPersonRelation.setUpdateTime(new Date());
|
|
|
- recruitPersonRelationService.update(recruitPersonRelation);
|
|
|
- }
|
|
|
+ }
|
|
|
+
|
|
|
+ if("1".equals(isRead)) {
|
|
|
+ RecruitPersonRelation recruitPersonRelation = recruitPersonRelationService.get(rprId);
|
|
|
+ if(recruitPersonRelation != null) {
|
|
|
+ recruitPersonRelation.setIsRead(true);
|
|
|
+ recruitPersonRelation.setUpdateTime(new Date());
|
|
|
+ recruitPersonRelationService.update(recruitPersonRelation);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
returnMap.put("jobInformationInfo",jobInformationInfo);
|
|
|
returnMap.put("personInfo",personInfo);
|
|
|
returnMap.put("isInvite",isInvite);
|