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
3b4293fc
Commit
3b4293fc
authored
Mar 31, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/2502朋友圈' into 'master'
许可转移,成员code相同控制 See merge request
!2718
parents
54357b80
57318a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+4
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
3b4293fc
...
@@ -1208,6 +1208,10 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1208,6 +1208,10 @@ public class StaffApiServiceImpl implements StaffApiService {
if
(
CollUtil
.
isEmpty
(
tabHaobanStaffs
)){
if
(
CollUtil
.
isEmpty
(
tabHaobanStaffs
)){
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
"-9999"
,
"通讯录成员不存在!"
,
result
);
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
"-9999"
,
"通讯录成员不存在!"
,
result
);
}
}
Set
<
String
>
set
=
tabHaobanStaffs
.
stream
().
map
(
o
->
o
.
getWxOpenUseId
()).
collect
(
Collectors
.
toSet
());
if
(
tabHaobanStaffs
.
size
()
!=
set
.
size
())
{
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
"-9999"
,
"存在相同code的成员转移"
,
result
);
}
WxEnterpriseDTO
wxEnterpriseDTO
=
this
.
wxEnterpriseService
.
selectById
(
wxEnterpriseId
);
WxEnterpriseDTO
wxEnterpriseDTO
=
this
.
wxEnterpriseService
.
selectById
(
wxEnterpriseId
);
String
openCorpid
=
wxEnterpriseDTO
.
getOpenCorpid
();
String
openCorpid
=
wxEnterpriseDTO
.
getOpenCorpid
();
String
serviceCorpid
=
config
.
getCorpid
();
String
serviceCorpid
=
config
.
getCorpid
();
...
...
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