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
93b398ef
Commit
93b398ef
authored
3 years ago
by
nivetha
Browse files
Options
Download
Patches
Plain Diff
fixed issue with updating user device token
parent
0f773adb
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
+4
-3
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
with
4 additions
and
3 deletions
+4
-3
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
+
4
−
3
View file @
93b398ef
...
...
@@ -653,7 +653,7 @@ public class UserDaoImpl implements UserDao {
@Override
public
Long
fetchAuthTokenReference
(
String
authToken
)
{
authToken
=
authToken
.
split
(
" "
)[
1
]
;
authToken
=
authToken
.
replace
(
Constants
.
TOKEN_PREFIX
,
""
).
replace
(
Constants
.
TOKEN_PREFIX
.
toLowerCase
(),
""
)
;
Long
authTokenRef
=
0L
;
try
{
authTokenRef
=
jdbcTemplate
.
queryForObject
(
UserQueries
.
FETCH_AUTH_TOKEN_REF
,
new
Object
[]
{
authToken
},
...
...
@@ -964,9 +964,10 @@ public class UserDaoImpl implements UserDao {
@Override
public
List
<
KeyValue
>
getNumberOfUsersAndRoles
()
{
List
<
KeyValue
>
userList
=
new
ArrayList
<>();
List
<
KeyValue
>
userList
=
new
ArrayList
<>();
try
{
userList
=
jdbcTemplate
.
query
(
UserQueries
.
GET_NUMBER_USER_ROLES
,
new
SqlDataMapper
().
new
UserRoleCountMapper
());
userList
=
jdbcTemplate
.
query
(
UserQueries
.
GET_NUMBER_USER_ROLES
,
new
SqlDataMapper
().
new
UserRoleCountMapper
());
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"Encountered an Exception while fetching the User by Username : "
+
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