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
a4ea7ce2
Commit
a4ea7ce2
authored
Sep 18, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化投票分页
parent
2f9dd4b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
+1
-1
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/TrResearchQuestionMapper.xml
+0
-1
cloud-research-service/src/main/java/com/yizhi/research/application/service/impl/TrResearchQuestionServiceImpl.java
+1
-0
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/TrResearchQuestionMapper.xml
View file @
a4ea7ce2
...
...
@@ -216,6 +216,5 @@
<if
test=
"isTop != null and isTop == false"
>
ORDER BY a.no
</if>
limit #{pageStart}, #{pageEnd}
</select>
</mapper>
cloud-research-service/src/main/java/com/yizhi/research/application/service/impl/TrResearchQuestionServiceImpl.java
View file @
a4ea7ce2
...
...
@@ -1160,6 +1160,7 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
RequestContext
context
=
ContextHolder
.
get
();
Long
companyId
=
context
.
getCompanyId
();
Long
siteId
=
context
.
getSiteId
();
LOG
.
info
(
"投票列表入参, companyId:{}, siteId:{}, researchId:{}, start:"
,
companyId
,
siteId
,
researchId
,
(
pageNo
-
1
)
*
pageSize
,
pageSize
);
VoteRankingVo
voteRankingVo
=
researchQuestionMapper
.
getVoteResult
(
companyId
,
siteId
,
researchId
,
context
.
getAccountId
(),
false
,
(
pageNo
-
1
)
*
pageSize
,
pageSize
);
if
(
voteRankingVo
!=
null
){
Integer
finish
=
trResearchAnswerMapper
.
getResearchAnsweFinish
(
context
.
getAccountId
(),
researchId
);
...
...
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