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
cca84be2
Commit
cca84be2
authored
Feb 06, 2023
by
guojx
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
f552dd6d
b6fc4991
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-2
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+2
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
cca84be2
...
...
@@ -976,7 +976,7 @@ public class StaffApiServiceImpl implements StaffApiService {
List
<
AccountTransferUserDTO
>
resultList
=
listServiceResponse
.
getResult
();
result
.
setTotalNum
(
resultList
.
size
());
for
(
AccountTransferUserDTO
dto
:
resultList
)
{
if
(
Constant
.
SUCCESS
.
equals
(
dto
.
getErrcode
()
)){
if
(
0
==
dto
.
getErrcode
(
)){
//企微转移成功,好办staff表对应更新
successNum
++;
TabHaobanStaff
handoverStaff
=
collect
.
get
(
map
.
get
(
dto
.
getHandover_userid
()));
...
...
@@ -984,7 +984,7 @@ public class StaffApiServiceImpl implements StaffApiService {
//置空转移成员的许可信息
staffMapper
.
updateStaffInfoByStaffId
(
handoverStaff
.
getStaffId
(),
null
,
null
,
null
,
0
);
//更新接收成员的许可信息
staffMapper
.
updateStaffInfoByStaffId
(
takeOverStaff
.
getStaffId
(),
takeOverStaff
.
getActiveTime
(),
takeOverStaff
.
getExpireTime
(),
takeO
verStaff
.
getActiveCode
(),
1
);
staffMapper
.
updateStaffInfoByStaffId
(
takeOverStaff
.
getStaffId
(),
handoverStaff
.
getActiveTime
(),
handoverStaff
.
getExpireTime
(),
hando
verStaff
.
getActiveCode
(),
1
);
}
else
{
//企微转移失败,记录失败明细
...
...
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
cca84be2
...
...
@@ -632,7 +632,7 @@
expire_time = #{expireTime},
active_code = #{activeCode},
active_status = #{activeStatus}
where
wx_open_user_id
= #{staffId}
where
staff_id
= #{staffId}
</update>
</mapper>
\ No newline at end of file
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