Commit e165ab6c by zhiwj

咨询建议列表

parent 8e26b169
......@@ -77,11 +77,10 @@ public class ProblemManageApiServiceImpl implements ProblemManageApiService {
problemReplyDTO.setImgList(problemDTO.getImgList());
if (replyList == null) {
replyList = new ArrayList<>();
replyList.add(problemReplyDTO);
} else {
replyList = new ArrayList<>(replyList);
replyList.set(0, problemReplyDTO);
}
replyList.add(0, problemReplyDTO);
problemDTO.setReplyList(replyList);
return EnterpriseServiceResponse.success(problemDTO);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment