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
4914e2e0
Commit
4914e2e0
authored
Feb 19, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
67a59bc6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
ReviewService.java
src/main/java/com/egolm/film/api/service/ReviewService.java
+2
-0
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+6
-0
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+7
-0
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
4914e2e0
...
@@ -129,5 +129,7 @@ public interface ReviewService {
...
@@ -129,5 +129,7 @@ public interface ReviewService {
void
deleteAsiaNewReport
(
int
review_id
,
int
review_round
);
void
deleteAsiaNewReport
(
int
review_id
,
int
review_round
);
List
<
Map
<
String
,
Object
>>
queryDisputeCount
();
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
4914e2e0
...
@@ -676,4 +676,10 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -676,4 +676,10 @@ public class ReviewServiceImpl implements ReviewService {
return
jdbcTemplate
.
queryForList
(
sql
,
review_id
);
return
jdbcTemplate
.
queryForList
(
sql
,
review_id
);
}
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryDisputeCount
()
{
String
sql
=
"select review_round, count(id) count from fc_review where opt_state = 1 group by review_round"
;
return
jdbcTemplate
.
queryForList
(
sql
);
}
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
4914e2e0
...
@@ -106,6 +106,13 @@ public class AdminReviewController {
...
@@ -106,6 +106,13 @@ public class AdminReviewController {
return
Rjx
.
jsonOk
().
setData
(
list
).
setPage
(
page
);
return
Rjx
.
jsonOk
().
setData
(
list
).
setPage
(
page
);
}
}
@ResponseBody
@PostMapping
({
"getDisputeCount"
})
@ApiOperation
(
"查询争议数量"
)
public
Object
getDisputeCount
()
{
return
Rjx
.
jsonOk
().
setData
(
reviewService
.
queryDisputeCount
());
}
@ResponseBody
@ResponseBody
@PostMapping
({
"getBestMvGroupList"
})
@PostMapping
({
"getBestMvGroupList"
})
@ApiOperation
(
"查询亚新榜单全部评委组"
)
@ApiOperation
(
"查询亚新榜单全部评委组"
)
...
...
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