Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
440e7299
Commit
440e7299
authored
May 11, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改-客户姓名乱码问题
parent
0b1e66d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerArticleServiceImpl.java
+15
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerArticleServiceImpl.java
View file @
440e7299
...
...
@@ -19,6 +19,8 @@ import org.springframework.beans.BeanUtils;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLDecoder
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -72,6 +74,19 @@ public class PractitionerArticleServiceImpl implements PractitionerArticleServic
ArticleTrackQueryResponseVO
responseVO
=
new
ArticleTrackQueryResponseVO
();
//通过经纪人id和文章id查询 客户跟踪信息
List
<
ArticleTrackQueryInfo
>
articleTrackQueryInfos
=
practitionerArticleDALService
.
articleTrackQuery
(
practitionerId
,
sharingId
);
if
(
articleTrackQueryInfos
.
isEmpty
()){
responseVO
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
return
responseVO
;
}
articleTrackQueryInfos
.
forEach
(
a
->
{
try
{
if
((
a
.
getNickName
()
!=
null
))
{
a
.
setNickName
(
URLDecoder
.
decode
(
a
.
getNickName
(),
"utf-8"
));
}
}
catch
(
UnsupportedEncodingException
e
)
{
e
.
printStackTrace
();
}
});
responseVO
.
setArticleTrackQueryInfos
(
articleTrackQueryInfos
);
responseVO
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
return
responseVO
;
...
...
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