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
47cd5a13
Commit
47cd5a13
authored
Jan 08, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c
parent
28d5ac41
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-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
+5
-0
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+18
-0
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
47cd5a13
...
...
@@ -108,4 +108,6 @@ public interface ReviewService {
List
<
Map
<
String
,
Object
>>
queryTimeoutList
(
String
keyword
,
Page
page
);
List
<
Map
<
String
,
Object
>>
queryReviewRecordLogList
(
Page
page
);
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
47cd5a13
...
...
@@ -699,4 +699,9 @@ public class ReviewServiceImpl implements ReviewService {
}
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryReviewRecordLogList
(
Page
page
)
{
return
jdbcTemplate
.
limit
(
"select rr.*, mf.en_name, mf.cn_name, u.username from fc_review_record rr left join fc_user u on u.uid = rr.user_id left join fc_review r on r.id = rr.review_id left join fc_member_film mf on mf.id = r.film_id"
,
page
);
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
47cd5a13
...
...
@@ -327,6 +327,22 @@ public class AdminReviewController {
return
Rjx
.
jsonOk
().
setData
(
list
);
}
@ResponseBody
@Transactional
@PostMapping
(
"getReviewRecordLogList"
)
@ApiOperation
(
"查询审片记录列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"index"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"limit"
),
})
public
Object
getReviewRecordList2
(
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
=
reviewService
.
queryReviewRecordLogList
(
page
);
return
Rjx
.
jsonOk
().
setData
(
list
);
}
@ResponseBody
@Transactional
@PostMapping
(
"getReviewRecord"
)
...
...
@@ -340,5 +356,7 @@ public class AdminReviewController {
List
<
Fc_review_record_ext
>
extList
=
reviewService
.
queryReviewRecordExtList
(
record
.
getId
());
return
Rjx
.
jsonOk
().
setData
(
recordMap
).
set
(
"exts"
,
extList
);
}
}
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