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
d3715faa
Commit
d3715faa
authored
Feb 28, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
b3a8d482
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
FilmGroupService.java
...ain/java/com/egolm/film/api/service/FilmGroupService.java
+1
-1
FilmGroupServiceImpl.java
...com/egolm/film/api/service/impl/FilmGroupServiceImpl.java
+2
-1
FilmGroupController.java
...ava/com/egolm/film/api/web/admin/FilmGroupController.java
+2
-2
No files found.
src/main/java/com/egolm/film/api/service/FilmGroupService.java
View file @
d3715faa
...
...
@@ -15,7 +15,7 @@ public interface FilmGroupService {
void
removeFilmGroupById
(
Integer
[]
id
);
List
<
Map
<
String
,
Object
>>
queryNoGroupFilmList
(
String
keyword
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Page
page
);
List
<
Map
<
String
,
Object
>>
queryNoGroupFilmList
(
String
keyword
,
Integer
film_type_id
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Page
page
);
List
<
Map
<
String
,
Object
>>
queryGroupFilmList
(
Integer
[]
group_id
,
String
keyword
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
is_important
,
Integer
review_state
,
Integer
review_round
,
...
...
src/main/java/com/egolm/film/api/service/impl/FilmGroupServiceImpl.java
View file @
d3715faa
...
...
@@ -68,9 +68,10 @@ public class FilmGroupServiceImpl implements FilmGroupService {
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryNoGroupFilmList
(
String
keyword
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Page
page
)
{
public
List
<
Map
<
String
,
Object
>>
queryNoGroupFilmList
(
String
keyword
,
Integer
film_type_id
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Page
page
)
{
SqlWhere
wehre
=
new
SqlWhere
()
.
eq
(
"t.film_country"
,
film_country
)
.
eq
(
"t.film_type_name"
,
film_type_id
)
.
eq
(
"t.film_type_name_short"
,
film_type_name_short
)
.
eq
(
"t.play_shanghai"
,
play_shanghai
)
.
lk
(
"t.keywords"
,
keyword
)
...
...
src/main/java/com/egolm/film/api/web/admin/FilmGroupController.java
View file @
d3715faa
...
...
@@ -46,12 +46,12 @@ public class FilmGroupController {
@ResponseBody
@PostMapping
(
"getFilmList"
)
@ApiOperation
(
"查询未分类影片列表"
)
public
Object
queryNoGroupFilmList
(
String
keyword
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
String
[]
orderBy
,
Long
index
,
Long
limit
)
{
public
Object
queryNoGroupFilmList
(
String
keyword
,
Integer
film_type_id
,
Integer
enroll_type_id
,
String
film_country
,
Integer
film_type_name_short
,
Integer
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
String
[]
orderBy
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
page
.
setLimitKey
(
orderBy
);
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryNoGroupFilmList
(
keyword
,
enroll_type_id
,
film_country
,
film_type_name_short
,
play_shanghai
,
review_round
,
review_state
,
page
);
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryNoGroupFilmList
(
keyword
,
film_type_id
,
enroll_type_id
,
film_country
,
film_type_name_short
,
play_shanghai
,
review_round
,
review_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