Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
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
cloud-web
Commits
4e5a0662
Commit
4e5a0662
authored
Sep 15, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投票列表增加分页参数
parent
7fcbcda6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
cloud-web-student/src/main/java/com/yizhi/application/research/controller/ResearchQuestionsController.java
+3
-1
No files found.
cloud-web-student/src/main/java/com/yizhi/application/research/controller/ResearchQuestionsController.java
View file @
4e5a0662
...
@@ -135,10 +135,12 @@ public class ResearchQuestionsController {
...
@@ -135,10 +135,12 @@ public class ResearchQuestionsController {
@GetMapping
(
"/list/all"
)
@GetMapping
(
"/list/all"
)
@ApiOperation
(
value
=
"调研问题列表pc端"
,
notes
=
"所有问题"
,
response
=
TrResearchQuestionVo
.
class
)
@ApiOperation
(
value
=
"调研问题列表pc端"
,
notes
=
"所有问题"
,
response
=
TrResearchQuestionVo
.
class
)
public
Response
<
TrResearchQuestionVo
>
listAll
(
public
Response
<
TrResearchQuestionVo
>
listAll
(
@ApiParam
(
name
=
"pageNo"
,
value
=
"当前页"
)
@RequestParam
(
name
=
"pageNo"
,
required
=
false
)
Integer
pageNo
,
@ApiParam
(
name
=
"pageSize"
,
value
=
"每页的个数"
)
@RequestParam
(
name
=
"pageSize"
,
required
=
false
)
Integer
pageSize
,
@ApiParam
(
name
=
"researchId"
,
value
=
"调研id"
,
required
=
true
)
@RequestParam
(
name
=
"researchId"
)
Long
researchId
@ApiParam
(
name
=
"researchId"
,
value
=
"调研id"
,
required
=
true
)
@RequestParam
(
name
=
"researchId"
)
Long
researchId
)
{
)
{
try
{
try
{
return
Response
.
ok
(
researchQuestionClient
.
list
(
researchId
));
return
Response
.
ok
(
researchQuestionClient
.
list
All
(
researchId
,
pageSize
,
pageNo
));
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
""
,
e
);
LOGGER
.
error
(
""
,
e
);
return
Response
.
fail
(
Constants
.
RESEARCH_MSG_BIZ_ERROR
);
return
Response
.
fail
(
Constants
.
RESEARCH_MSG_BIZ_ERROR
);
...
...
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