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
783be05c
Commit
783be05c
authored
Feb 02, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志记录
parent
8f4ca9aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+1
-0
WxEnterpriseActiveDataServiceTest.java
...vice/src/test/java/WxEnterpriseActiveDataServiceTest.java
+7
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
783be05c
...
...
@@ -942,6 +942,7 @@ public class StaffApiServiceImpl implements StaffApiService {
String
serviceCorpid
=
config
.
getCorpid
();
List
<
AccountTransferUserDTO
>
accountTransferUserDTOList
=
JSONArray
.
parseArray
(
JSONObject
.
toJSONString
(
transferActiveCodeQOList
),
AccountTransferUserDTO
.
class
);
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
List
<
AccountTransferUserDTO
>>
listServiceResponse
=
qywxOrderApiService
.
batchTransferLicense
(
serviceCorpid
,
openCorpid
,
accountTransferUserDTOList
);
logger
.
info
(
"转移成员返回结果:{}"
,
JSONObject
.
toJSONString
(
listServiceResponse
));
if
(
Constant
.
SUCCESS
.
equals
(
listServiceResponse
.
getCode
())){
//企微转移成功,好办staff表对应更新
transferActiveCodeQOList
.
stream
().
forEach
(
a
->{
...
...
haoban-manage3-service/src/test/java/WxEnterpriseActiveDataServiceTest.java
View file @
783be05c
...
...
@@ -35,9 +35,14 @@ public class WxEnterpriseActiveDataServiceTest {
public
void
test1
(){
List
<
TransferActiveCodeQDTO
>
transferActiveCodeQOList
=
new
ArrayList
<>();
TransferActiveCodeQDTO
transferActiveCodeQDTO
=
new
TransferActiveCodeQDTO
();
transferActiveCodeQDTO
.
setHandover_userid
(
"wo59NLDQAA
pF0TAIJkdCZjESTGq-fuEQ
"
);
transferActiveCodeQDTO
.
setTakeover_userid
(
"wo59NLDQAA
U-YMhwQgyKgR3sNGj4cpZA
"
);
transferActiveCodeQDTO
.
setHandover_userid
(
"wo59NLDQAA
CLAXbOdqrz-70qpl72cWcA
"
);
transferActiveCodeQDTO
.
setTakeover_userid
(
"wo59NLDQAA
pF0TAIJkdCZjESTGq-fuEQ
"
);
transferActiveCodeQOList
.
add
(
transferActiveCodeQDTO
);
TransferActiveCodeQDTO
transferActiveCodeQDTO1
=
new
TransferActiveCodeQDTO
();
transferActiveCodeQDTO1
.
setHandover_userid
(
"wo59NLDQAAxWVUBU76zh3jRMXZ8TOxfw"
);
transferActiveCodeQDTO1
.
setTakeover_userid
(
"wo59NLDQAArJKx2wWmQGWTOd36ueijwQ"
);
transferActiveCodeQOList
.
add
(
transferActiveCodeQDTO1
);
ServiceResponse
<
Integer
>
integerServiceResponse
=
staffApiService
.
batchTransferLicense
(
transferActiveCodeQOList
,
"ca66a01b79474c40b3e7c7f93daf1a3b"
);
}
}
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