Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance
Commits
2dd01f84
Commit
2dd01f84
authored
1 year ago
by
shishir suman
Browse files
Options
Download
Patches
Plain Diff
comment as it is failing due to constraints
parent
cb770ef0
main
Escalate_ticket_send_mail_to_raiser
UAT
UPHRH_7903_mobile_otp
UPHRH_quartz_scheduler
admin_config_changes
github/fork/vky25/patch-1
rahu_test
shishir_dynamic_schedular
shishir_ticket_statistics_by_user
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/upsmf/grievance/service/impl/IntegrationServiceImpl.java
+1
-1
.../upsmf/grievance/service/impl/IntegrationServiceImpl.java
with
1 addition
and
1 deletion
+1
-1
src/main/java/org/upsmf/grievance/service/impl/IntegrationServiceImpl.java
+
1
−
1
View file @
2dd01f84
...
...
@@ -179,7 +179,7 @@ public class IntegrationServiceImpl implements IntegrationService {
User
newUser
=
createUserWithApiResponse
(
userContentData
);
User
savedUser
=
userRepository
.
save
(
newUser
);
// create user role mapping
createUserRoleMapping
(
user
,
savedUser
);
//
createUserRoleMapping(user, savedUser);
// create user department mapping
if
(
savedUser
!=
null
&&
savedUser
.
getId
()
>
0
&&
departmentList
!=
null
&&
!
departmentList
.
isEmpty
())
{
org
.
upsmf
.
grievance
.
model
.
Department
departmentMap
=
org
.
upsmf
.
grievance
.
model
.
Department
.
builder
().
departmentName
(
departmentList
.
get
(
0
).
getCode
()).
userId
(
savedUser
.
getId
()).
build
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets