Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
92eb159b
Commit
92eb159b
authored
Dec 18, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
fc1a7b0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+24
-2
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
92eb159b
...
...
@@ -51,12 +51,34 @@ public class AdminReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"index"
,
value
=
"分页编号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"limit"
,
value
=
"分页大小"
),
})
public
Object
list
(
String
keyword
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
opt_state
,
Long
index
,
Long
limit
)
{
public
Object
list
(
String
keyword
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
opt_state
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
Fc_admin
admin
=
(
Fc_admin
)
tokenService
.
getTokenObj
();
List
<
Map
<
String
,
Object
>>
list
=
reviewService
.
queryReviewListForAdmin
(
keyword
,
admin
.
getGroup_id
(),
enroll_type_id
,
film_type_name
,
film_type_name_short
,
film_country
,
review_round
,
review_state
,
allot_state
,
opt_state
,
page
);
List
<
Map
<
String
,
Object
>>
list
=
reviewService
.
queryReviewListForAdmin
(
keyword
,
admin
.
getGroup_id
(),
enroll_type_id
,
film_type_name
,
film_type_name_short
,
film_country
,
review_round
,
review_state
,
allot_state
,
opt_state
,
page
);
return
Rjx
.
jsonOk
().
setData
(
list
).
setPage
(
page
);
}
...
...
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