Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
75dca69b
Commit
75dca69b
authored
Jan 17, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/获取用户敏感信息' into 'developer'
log See merge request
!874
parents
29bb8dfd
e7c1dd55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
StaffServiceImpl.java
.../haoban/manage/service/service/impl/StaffServiceImpl.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffServiceImpl.java
View file @
75dca69b
...
@@ -206,6 +206,7 @@ public class StaffServiceImpl implements StaffService {
...
@@ -206,6 +206,7 @@ public class StaffServiceImpl implements StaffService {
if
(
resp
.
isSuccess
())
{
if
(
resp
.
isSuccess
())
{
AccountListResponseDTO
dto
=
resp
.
getResult
()
;
AccountListResponseDTO
dto
=
resp
.
getResult
()
;
List
<
AccountListDTO
>
list
=
dto
.
getAccountList
()
;
List
<
AccountListDTO
>
list
=
dto
.
getAccountList
()
;
log
.
info
(
"查询激活账号,size={},wxeid={}"
,
list
.
size
(),
wxEnterpriseId
);
this
.
updateAccount
(
wxEnterpriseId
,
list
);
this
.
updateAccount
(
wxEnterpriseId
,
list
);
cursor
=
dto
.
getNextCursor
()
;
cursor
=
dto
.
getNextCursor
()
;
Integer
hasMore
=
dto
.
getHasMore
()
;
Integer
hasMore
=
dto
.
getHasMore
()
;
...
@@ -219,12 +220,11 @@ public class StaffServiceImpl implements StaffService {
...
@@ -219,12 +220,11 @@ public class StaffServiceImpl implements StaffService {
private
void
updateAccount
(
String
wxEnterpriseId
,
List
<
AccountListDTO
>
list
)
{
private
void
updateAccount
(
String
wxEnterpriseId
,
List
<
AccountListDTO
>
list
)
{
for
(
AccountListDTO
item
:
list
)
{
for
(
AccountListDTO
item
:
list
)
{
String
userId
=
item
.
getUserid
()
;
String
userId
=
item
.
getUserid
()
;
String
activeCode
=
item
.
getActiveCode
()
;
Date
start
=
new
Date
(
item
.
getActiveTime
()*
1000L
)
;
Date
start
=
new
Date
(
item
.
getActiveTime
()*
1000L
)
;
Date
end
=
new
Date
(
item
.
getExpireTime
()*
1000L
)
;
Date
end
=
new
Date
(
item
.
getExpireTime
()*
1000L
)
;
TabHaobanStaff
staff
=
this
.
mapper
.
selectByUserIdAndEnterpriseId
(
userId
,
wxEnterpriseId
)
;
TabHaobanStaff
staff
=
this
.
mapper
.
selectByUserIdAndEnterpriseId
(
userId
,
wxEnterpriseId
)
;
if
(
null
!=
staff
)
{
if
(
null
!=
staff
)
{
this
.
updateActiveStatusById
(
staff
.
getStaffId
(),
activeCode
,
start
,
end
,
new
Date
(),
1
)
;
this
.
updateActiveStatusById
(
staff
.
getStaffId
(),
start
,
end
,
new
Date
(),
1
)
;
}
else
{
}
else
{
log
.
info
(
"查询激活账号,用户不存在,userid={}"
,
userId
);
log
.
info
(
"查询激活账号,用户不存在,userid={}"
,
userId
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment