Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
08022c69
Commit
08022c69
authored
Jan 03, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f244cd46
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ReviewService.java
src/main/java/com/egolm/film/api/service/ReviewService.java
+1
-1
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+1
-1
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+3
-3
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
08022c69
...
...
@@ -42,7 +42,7 @@ public interface ReviewService {
Integer
opt_state
,
Page
page
);
List
<
Map
<
String
,
Object
>>
query
NewAsianRoundList
(
String
keyword
,
Integer
user_group_id
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Page
page
);
List
<
Map
<
String
,
Object
>>
query
BestMvListByGroup
(
String
keyword
,
Integer
user_group_id
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Page
page
);
/**
* 查询评委审片列表
...
...
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
08022c69
...
...
@@ -130,7 +130,7 @@ public class ReviewServiceImpl implements ReviewService {
}
@Override
public
List
<
Map
<
String
,
Object
>>
query
NewAsianRoundList
(
String
keyword
,
Integer
user_group_id
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Page
page
)
{
public
List
<
Map
<
String
,
Object
>>
query
BestMvListByGroup
(
String
keyword
,
Integer
user_group_id
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Page
page
)
{
XRException
.
assertNotBlank
(
"获奖类型不能未空"
,
ext_type
);
XRException
.
assertNotBlank
(
"选片轮数不能为空"
,
review_round
);
String
sql
=
""
...
...
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
08022c69
...
...
@@ -92,7 +92,7 @@ public class AdminReviewController {
}
@ResponseBody
@PostMapping
(
"getNewAsianRoundList"
)
@PostMapping
(
{
"getNewAsianRoundList"
,
"getBestMvListByGroup"
}
)
@ApiOperation
(
"查询亚新榜单"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"keyword"
,
value
=
"搜索关键字"
),
...
...
@@ -102,14 +102,14 @@ public class AdminReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
name
=
"index"
,
value
=
"分页编号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
name
=
"limit"
,
value
=
"分页大小"
),
})
public
Object
get
NewAsianRoundList
(
String
keyword
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Long
index
,
Long
limit
)
{
public
Object
get
BestMvListByGroup
(
String
keyword
,
Integer
review_state
,
Integer
review_round
,
String
ext_type
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
List
<
Map
<
String
,
Object
>>
ugList
=
reviewService
.
queryUserGroupListByReviewRecord
(
2
,
review_round
);
for
(
Map
<
String
,
Object
>
ugMap
:
ugList
)
{
Integer
ugId
=
((
Number
)
ugMap
.
get
(
"group_id"
)).
intValue
();
List
<
Map
<
String
,
Object
>>
list
=
reviewService
.
query
NewAsianRoundList
(
keyword
,
ugId
,
review_state
,
review_round
,
ext_type
,
page
);
List
<
Map
<
String
,
Object
>>
list
=
reviewService
.
query
BestMvListByGroup
(
keyword
,
ugId
,
review_state
,
review_round
,
ext_type
,
page
);
ugMap
.
put
(
"list"
,
list
);
}
return
Rjx
.
jsonOk
().
setData
(
ugList
).
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