|
|
@@ -232,9 +232,7 @@ public class HpApplyPositionService extends CrudService<HpApplyPositionMapper, H
|
|
|
case "8":
|
|
|
DpPositionForApplyAPI dpPositionForApplyAPI = dpPositionService.getDpPositionForApplyAPI(positionId);
|
|
|
HpMessage hpMessage = new HpMessage();
|
|
|
- HpUser hpUser = new HpUser();
|
|
|
- hpUser.setId(userId);
|
|
|
- hpMessage.setHpUser(hpUser);
|
|
|
+ hpMessage.setHpMember(dpPositionForApplyAPI.getHpMember());
|
|
|
hpMessage.setPositionId(positionId);
|
|
|
hpMessage.setPositionCategory(Integer.parseInt(positionCategory));
|
|
|
hpMessage.setMessageTime(new Date());
|
|
|
@@ -254,9 +252,7 @@ public class HpApplyPositionService extends CrudService<HpApplyPositionMapper, H
|
|
|
case "9":
|
|
|
DpPositionForApplyAPI dpPositionForApplyAPI1 = dpPositionService.getDpPositionForApplyAPI(positionId);
|
|
|
HpMessage hpMessage1 = new HpMessage();
|
|
|
- HpMember hpMember = new HpMember();
|
|
|
- hpMember.setId(memberId);
|
|
|
- hpMessage1.setHpMember(hpMember);
|
|
|
+ hpMessage1.setHpMember(dpPositionForApplyAPI1.getHpMember());
|
|
|
hpMessage1.setPositionId(positionId);
|
|
|
hpMessage1.setPositionCategory(Integer.parseInt(positionCategory));
|
|
|
hpMessage1.setMessageTime(new Date());
|