Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
8368acd6
Commit
8368acd6
authored
Sep 09, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.9-企微部门
parent
c5c730ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
QiWeiServiceImpl.java
...oud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
+16
-3
No files found.
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
View file @
8368acd6
...
@@ -1025,10 +1025,23 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
...
@@ -1025,10 +1025,23 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
JSONArray
options
;
JSONArray
options
;
if
(
Common
.
isNotNull
(
value
))
{
if
(
Common
.
isNotNull
(
value
))
{
options
=
(
JSONArray
)
value
.
get
(
"departments"
);
options
=
(
JSONArray
)
value
.
get
(
"departments"
);
StringBuilder
deptName
=
new
StringBuilder
();
if
(
Common
.
isNotNull
(
options
))
{
if
(
Common
.
isNotNull
(
options
))
{
options0
=
(
JSONObject
)
options
.
get
(
0
);
for
(
int
i
=
0
;
i
<
options
.
size
();
i
++)
{
if
(
Common
.
isNotNull
(
options0
))
{
options0
=
(
JSONObject
)
options
.
get
(
i
);
return
options0
.
getString
(
"name"
);
if
(
Common
.
isNotNull
(
options0
))
{
if
(
i
>
0
)
{
deptName
.
append
(
";"
);
}
deptName
.
append
(
options0
.
getString
(
"name"
));
}
}
if
(
Common
.
isNotNull
(
deptName
))
{
if
(
deptName
.
length
()
>
200
)
{
return
deptName
.
substring
(
0
,
200
);
}
else
{
return
deptName
.
toString
();
}
}
}
}
}
}
}
...
...
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