Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cfld-postcard-service
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
cfld-backend
cfld-postcard-service
Commits
4ff16902
Commit
4ff16902
authored
Dec 16, 2023
by
zhouxudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
08330ec7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ScSourceInfoServiceImpl.java
...e/moudle/system/service/impl/ScSourceInfoServiceImpl.java
+8
-1
No files found.
src/main/java/com/postcard/service/moudle/system/service/impl/ScSourceInfoServiceImpl.java
View file @
4ff16902
...
@@ -12,6 +12,7 @@ import com.postcard.service.moudle.system.service.ScSourceInfoService;
...
@@ -12,6 +12,7 @@ import com.postcard.service.moudle.system.service.ScSourceInfoService;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -35,7 +36,13 @@ public class ScSourceInfoServiceImpl extends ServiceImpl<ScSourceInfoMapper, ScS
...
@@ -35,7 +36,13 @@ public class ScSourceInfoServiceImpl extends ServiceImpl<ScSourceInfoMapper, ScS
List
<
Map
>
result
=
new
ArrayList
<>();
List
<
Map
>
result
=
new
ArrayList
<>();
if
(!
ObjectUtils
.
isEmpty
(
scSourceInfo
)&&
StringUtils
.
isNotBlank
(
scSourceInfo
.
getContactInformation
())){
if
(!
ObjectUtils
.
isEmpty
(
scSourceInfo
)&&
StringUtils
.
isNotBlank
(
scSourceInfo
.
getContactInformation
())){
String
contactInformation
=
scSourceInfo
.
getContactInformation
();
String
contactInformation
=
scSourceInfo
.
getContactInformation
();
result
=
JSONUtil
.
toList
(
contactInformation
,
Map
.
class
);
String
[]
split
=
contactInformation
.
split
(
";"
);
for
(
String
data
:
split
)
{
Map
map
=
new
HashMap
();
String
[]
split1
=
data
.
split
(
":"
);
map
.
put
(
split1
[
0
],
split1
[
1
]);
result
.
add
(
map
);
}
}
}
return
result
;
return
result
;
}
}
...
...
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