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
9ba3c202
Commit
9ba3c202
authored
May 19, 2025
by
梅存智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取题目相关的附件
parent
fc1805ee
Show 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 @
9ba3c202
...
@@ -536,6 +536,12 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
...
@@ -536,6 +536,12 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
TrResearchQuestion
trResearchQuestion
=
researchQuestionMapper
.
selectById
(
questionId
);
TrResearchQuestion
trResearchQuestion
=
researchQuestionMapper
.
selectById
(
questionId
);
if
(
trResearchQuestion
!=
null
)
{
if
(
trResearchQuestion
!=
null
)
{
List
<
TrResearchQuestion
>
listAllForJump
=
researchQuestionMapper
.
listAllForJump
(
trResearchQuestion
.
getNo
(),
trResearchQuestion
.
getResearchId
());
List
<
TrResearchQuestion
>
listAllForJump
=
researchQuestionMapper
.
listAllForJump
(
trResearchQuestion
.
getNo
(),
trResearchQuestion
.
getResearchId
());
for
(
TrResearchQuestion
question
:
listAllForJump
)
{
//获取题目相关的附件
List
<
String
>
attachmentUrl
=
researchQuestionAttachmentMapper
.
selectQuestionAttachmentByQuestionId
(
question
.
getId
());
question
.
setAttachmentUrl
(
attachmentUrl
);
}
return
listAllForJump
;
return
listAllForJump
;
}
}
return
null
;
return
null
;
...
...
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