Skip to content

Commit

Permalink
changing employment details field (#576)
Browse files Browse the repository at this point in the history
* changing employment details field

* changing employment details field
  • Loading branch information
Sahil-tarento authored May 29, 2024
1 parent a89d92e commit dea8f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,9 @@ public String updateBulkUploadUser(UserRegistration userRegistration) {
if (StringUtils.isNotEmpty(userRegistration.getEmployeeId())) {
employementDetails.put(Constants.EMPLOYEE_CODE, userRegistration.getEmployeeId());
}
if (StringUtils.isNotEmpty(userRegistration.getPincode())) {
employementDetails.put(Constants.PINCODE, userRegistration.getPincode());
}
profileDetails.put(Constants.EMPLOYMENTDETAILS, employementDetails);
Map<String, Object> personalDetails = new HashMap<String, Object>();
personalDetails.put(Constants.FIRSTNAME.toLowerCase(), userRegistration.getFirstName());
Expand All @@ -644,9 +647,6 @@ public String updateBulkUploadUser(UserRegistration userRegistration) {
if (StringUtils.isNotEmpty(userRegistration.getDomicileMedium())) {
personalDetails.put(Constants.DOMICILE_MEDIUM, userRegistration.getDomicileMedium());
}
if (StringUtils.isNotEmpty(userRegistration.getPincode())) {
personalDetails.put(Constants.PINCODE, userRegistration.getPincode());
}
if (StringUtils.isNotEmpty(userRegistration.getGender())) {
personalDetails.put(Constants.GENDER, userRegistration.getGender());
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,4 @@ organisation.insights.redis.key.mapping={"Average Course Rating":"dashboard_cour
bulk.upload.allowed.roles.creation=CBP_ADMIN,CONTENT_CREATOR,CONTENT_REVIEWER,FRAC_ADMIN,FRAC_COMPETENCY_MEMBER,FRAC_COMPETENCY_REVIEWER,FRAC_REVIEWER_L1,FRAC_REVIEWER_L2,IFU_MEMBER,MDO_ADMIN,MDO_LEADER,PUBLIC,WAT_MEMBER,PROGRAM_COORDINATOR,MDO_DASHBOARD_USER

user.bulk.upload.gender.value=Male,Female,Others
user.bulk.upload.category.value=General,OBC,SC,ST,Others
user.bulk.upload.category.value=General,OBC,SC,ST

0 comments on commit dea8f87

Please sign in to comment.