Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
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
base_platform_enterprise
gic-evaluate
Commits
8e26b169
Commit
8e26b169
authored
Jan 17, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
咨询建议列表
parent
b97351ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ProblemManageApiServiceImpl.java
...luate/service/outer/impl/ProblemManageApiServiceImpl.java
+7
-7
No files found.
gic-evaluate-service/src/main/java/com/gic/evaluate/service/outer/impl/ProblemManageApiServiceImpl.java
View file @
8e26b169
...
...
@@ -68,11 +68,6 @@ public class ProblemManageApiServiceImpl implements ProblemManageApiService {
problemDTO
.
setImgList
(
list
);
}
List
<
ProblemReplyDTO
>
replyList
=
problemReplyService
.
listReply
(
problemId
);
if
(
replyList
==
null
)
{
replyList
=
new
ArrayList
<>();
}
else
{
replyList
=
new
ArrayList
<>(
replyList
);
}
ProblemReplyDTO
problemReplyDTO
=
new
ProblemReplyDTO
();
problemReplyDTO
.
setReplyerType
(
ReplyerTypeEnum
.
MEMBER
.
getCode
());
problemReplyDTO
.
setReplyContent
(
tabProblem
.
getProblemContent
());
...
...
@@ -80,8 +75,13 @@ public class ProblemManageApiServiceImpl implements ProblemManageApiService {
problemReplyDTO
.
setMemberName
(
tabProblem
.
getMemberName
());
problemReplyDTO
.
setMemberImgUrl
(
tabProblem
.
getMemberImgUrl
());
problemReplyDTO
.
setImgList
(
problemDTO
.
getImgList
());
replyList
.
set
(
0
,
problemReplyDTO
);
if
(
replyList
==
null
)
{
replyList
=
new
ArrayList
<>();
replyList
.
add
(
problemReplyDTO
);
}
else
{
replyList
=
new
ArrayList
<>(
replyList
);
replyList
.
set
(
0
,
problemReplyDTO
);
}
problemDTO
.
setReplyList
(
replyList
);
return
EnterpriseServiceResponse
.
success
(
problemDTO
);
}
...
...
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