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
uphrh-smf-user
Commits
145d31e4
Commit
145d31e4
authored
3 years ago
by
nivetha
Browse files
Options
Download
Patches
Plain Diff
Fixed issue with updating user profile
parent
5bc59e07
master
bulkupload
delete-user
delete-user-fix
increase_timeout
institute-district
maney-test
sessionTimeout
updateEmailContentforOTP
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
+2
-1
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
with
2 additions
and
1 deletion
+2
-1
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
+
2
−
1
View file @
145d31e4
...
...
@@ -182,7 +182,8 @@ public class UserDaoImpl implements UserDao {
public
User
update
(
final
User
user
)
{
try
{
jdbcTemplate
.
update
(
UserQueries
.
UPDATE_USER
,
new
Object
[]
{
user
.
getEmailId
(),
user
.
getUsername
(),
user
.
getPhoneNo
(),
user
.
getIsActive
(),
new
Object
[]
{
user
.
getEmailId
(),
user
.
getUsername
(),
user
.
getPhoneNo
(),
(
user
.
getIsActive
()
!=
null
)
?
user
.
getIsActive
()
:
Boolean
.
TRUE
,
(
user
.
getIsDeleted
()
!=
null
)
?
user
.
getIsDeleted
()
:
Boolean
.
FALSE
,
user
.
getTimeZone
(),
user
.
getAvatarUrl
(),
user
.
getId
()
});
}
catch
(
Exception
e
)
{
...
...
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