Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
research-project
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
hqzhdj
research-project
Commits
9cdd327e
Commit
9cdd327e
authored
May 22, 2025
by
梅存智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取题目的多个附件
parent
25204a4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cloud-research-service/src/main/java/com/yizhi/research/application/service/impl/TrResearchQuestionServiceImpl.java
+6
-0
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/service/impl/TrResearchQuestionServiceImpl.java
View file @
9cdd327e
...
@@ -848,6 +848,12 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
...
@@ -848,6 +848,12 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
}
}
TrResearchQuestionVo
trResearchQuestionVo
=
new
TrResearchQuestionVo
();
TrResearchQuestionVo
trResearchQuestionVo
=
new
TrResearchQuestionVo
();
BeanUtils
.
copyProperties
(
trResearchQuestion
,
trResearchQuestionVo
);
BeanUtils
.
copyProperties
(
trResearchQuestion
,
trResearchQuestionVo
);
//获取题目相关的附件
Long
questionID
=
trResearchQuestionVo
.
getId
();
List
<
String
>
attachmentUrl
=
researchQuestionAttachmentMapper
.
selectQuestionAttachmentByQuestionId
(
questionID
);
trResearchQuestionVo
.
setAttachmentUrl
(
attachmentUrl
);
myQuestion
.
setQuestion
(
trResearchQuestionVo
);
myQuestion
.
setQuestion
(
trResearchQuestionVo
);
myQuestion
.
setAnswerQuestionVo
(
answerQuestionVo
);
myQuestion
.
setAnswerQuestionVo
(
answerQuestionVo
);
return
myQuestion
;
return
myQuestion
;
...
...
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