Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
d226c250
Commit
d226c250
authored
Sep 24, 2024
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组织架构组长有多个时报错
parent
418087e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
OrganizationImpl.java
...os/boot/module/jcs/biz/service/impl/OrganizationImpl.java
+6
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/OrganizationImpl.java
View file @
d226c250
...
...
@@ -82,12 +82,16 @@ public class OrganizationImpl extends BaseService<Organization, Organization, Or
List
<
String
>
nameList
=
Arrays
.
asList
(
nameArr
);
String
[]
telArr
=
new
String
[
nameList
.
size
()];
if
(
ObjectUtils
.
isNotEmpty
(
organization
.
getGroupLeaderTel
()))
{
telArr
=
organization
.
getGroupLeaderTel
().
split
(
"
\n
"
);
telArr
=
organization
.
getGroupLeaderTel
().
split
(
"
,
"
);
}
List
<
String
>
telList
=
Arrays
.
asList
(
telArr
);
List
<
String
>
valueList
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
nameList
.
size
();
i
++)
{
valueList
.
add
(
nameList
.
get
(
i
)
+
"-"
+
telList
.
get
(
i
));
if
(
telList
.
size
()
>
i
)
{
valueList
.
add
(
nameList
.
get
(
i
)
+
"-"
+
telList
.
get
(
i
));
}
else
{
valueList
.
add
(
nameList
.
get
(
i
));
}
}
tempMap
.
put
(
"value"
,
String
.
join
(
","
,
valueList
));
}
...
...
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