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
38f102b2
Commit
38f102b2
authored
Dec 17, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a5761f39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
26 deletions
+15
-26
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+15
-26
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
38f102b2
...
...
@@ -58,32 +58,12 @@ public class AdminFirstController {
@ResponseBody
@PostMapping
(
"list"
)
@ApiOperation
(
"初审
列表分页查询
"
)
@ApiOperation
(
"初审
通过列表
"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"keyword"
,
value
=
"关键字"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"state"
,
value
=
"影片状态[state=1 未提交, state=2 已提交]"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"apply_state"
,
value
=
"初审状态[apply_state=1 未初审, apply_state=2 初审通过, apply_state=3 初审未通过]"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"film_type"
,
value
=
"影片类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"film_type_short"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"enroll_type"
,
value
=
"影片性质"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"film_country"
,
value
=
"影片国家地区"
),
@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
state
,
Integer
apply_state
,
Integer
film_type
,
Integer
enroll_type
,
String
film_country
,
Integer
film_type_short
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
List
<
Map
<
String
,
Object
>>
list
=
memberFilmService
.
queryChuShenList
(
keyword
,
state
,
apply_state
,
null
,
film_type
,
enroll_type
,
film_country
,
film_type_short
,
null
,
null
,
null
,
null
,
null
,
page
);
return
Rjx
.
jsonOk
().
setData
(
list
).
setPage
(
page
);
}
@ResponseBody
@PostMapping
(
"pass_list"
)
@ApiOperation
(
"初审通过列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"keyword"
,
value
=
"关键字"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"film_type"
,
value
=
"影片类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"enroll_type"
,
value
=
"影片性质"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"film_country"
,
value
=
"影片国家地区"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"film_type_short"
,
value
=
"影片扩展分类"
),
...
...
@@ -98,26 +78,35 @@ public class AdminFirstController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"index"
,
value
=
"分页编号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"limit"
,
value
=
"分页大小"
),
})
public
Object
pass_
list
(
public
Object
list
(
String
keyword
,
Integer
state
,
Integer
apply_state
,
Integer
film_type
,
Integer
enroll_type
,
Integer
upload_state
,
String
film_country
,
Integer
film_type_short
,
String
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_atate
,
Integer
r_state
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
List
<
Map
<
String
,
Object
>>
list
=
memberFilmService
.
queryChuShenList
(
keyword
,
2
,
2
,
upload_state
,
film_type
,
enroll_type
,
film_country
,
film_type_short
,
play_shanghai
,
List
<
Map
<
String
,
Object
>>
list
=
memberFilmService
.
queryChuShenList
(
keyword
,
state
,
apply_state
,
upload_state
,
film_type
,
enroll_type
,
film_country
,
film_type_short
,
play_shanghai
,
review_round
,
review_state
,
allot_atate
,
...
...
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