Skip to content
Merged
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 @@ -1499,6 +1499,10 @@ public BeneficiaryCreateResp createIdentity(IdentityDTO identity) {
// MBeneficiarydetail mDetl = mapper.identityDTOToMBeneficiarydetail(identity);
MBeneficiarydetail mDetl = convertIdentityDTOToMBeneficiarydetail(identity);

if (mDetl.getBeneficiaryRegID() == null) {
mDetl.setBeneficiaryRegID(regMap.getBenRegId());
}

if (mDetl.getCreatedDate() == null) {
SimpleDateFormat sdf = new SimpleDateFormat(CREATED_DATE_FORMAT);
String dateToStoreInDataBase = sdf.format(new Date());
Expand Down
Loading