Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,18 @@ public void editIdentity(IdentityEditDTO identity) throws MissingMandatoryFields
if (benDetails.getOther() != null) {
mbDetl.setOther(benDetails.getOther());
}
if (mbDetl.getOccupationId() == null && benDetails.getOccupationId() != null) {
mbDetl.setOccupationId(benDetails.getOccupationId());
}
if (mbDetl.getOccupation() == null && benDetails.getOccupation() != null) {
mbDetl.setOccupation(benDetails.getOccupation());
}
if (mbDetl.getEducationId() == null && benDetails.getEducationId() != null) {
mbDetl.setEducationId(benDetails.getEducationId());
}
if (mbDetl.getEducation() == null && benDetails.getEducation() != null) {
mbDetl.setEducation(benDetails.getEducation());
}

// Extract and set extra fields
// String identityJson = new Gson().toJson(json);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,8 @@ public String getFamilyDetailsByBeneficiaryId(String request) throws IEMRExcepti
}

private void addFamilyMembersToList(List<MBeneficiarydetail> list, List<FamilyMembers> responseList) {
StringBuilder name = new StringBuilder("");
for (MBeneficiarydetail obj : list) {

StringBuilder name = new StringBuilder("");
FamilyMembers famObj = new FamilyMembers();
BigInteger benRegId = benMappingRepo.getBenRegId(obj.getBeneficiaryDetailsId(), obj.getVanID());
if (benRegId != null)
Expand Down
Loading