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
473fe99e
Commit
473fe99e
authored
Dec 13, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
b1f7183a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
4 deletions
+59
-4
ReviewService.java
src/main/java/com/egolm/film/api/service/ReviewService.java
+48
-2
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+11
-2
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
473fe99e
...
...
@@ -14,9 +14,55 @@ public interface ReviewService {
Object
queryDoubtfulList
();
List
<
Map
<
String
,
Object
>>
queryReviewList
(
String
keyword
,
Integer
group_id
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
state
,
Page
page
);
List
<
Map
<
String
,
Object
>>
queryReviewListByUserId
(
boolean
is_review
,
Integer
user_id
,
String
keyword
,
Date
start_date
,
Date
end_date
,
Integer
film_type_id
,
Integer
enroll_type_id
,
Page
page
);
/**
* 查询管理员选片列表
* @param keyword
* @param group_id
* @param enroll_type_id
* @param film_type_name
* @param film_type_name_short
* @param film_country
* @param review_round
* @param review_state
* @param allot_state
* @param state
* @param page
* @return
*/
List
<
Map
<
String
,
Object
>>
queryReviewList
(
String
keyword
,
Integer
group_id
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
state
,
Page
page
);
/**
* 查询评委审片列表
* @param is_review
* @param user_id
* @param keyword
* @param start_date
* @param end_date
* @param film_type_id
* @param enroll_type_id
* @param page
* @return
*/
List
<
Map
<
String
,
Object
>>
queryReviewListByUserId
(
boolean
is_review
,
Integer
user_id
,
String
keyword
,
Date
start_date
,
Date
end_date
,
Integer
film_type_id
,
Integer
enroll_type_id
,
Page
page
);
Fc_review
queryReview
(
Integer
film_id
,
Integer
enroll_type_id
);
...
...
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
473fe99e
...
...
@@ -28,8 +28,17 @@ public class ReviewServiceImpl implements ReviewService {
JdbcTemplate
jdbcTemplate
;
@Override
public
List
<
Map
<
String
,
Object
>>
queryReviewList
(
String
keyword
,
Integer
group_id
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
state
,
public
List
<
Map
<
String
,
Object
>>
queryReviewList
(
String
keyword
,
Integer
group_id
,
Integer
enroll_type_id
,
Integer
film_type_name
,
Integer
film_type_name_short
,
String
film_country
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_state
,
Integer
state
,
Page
page
)
{
SqlWhere
w1
=
new
SqlWhere
()
.
where
(
"mf.film_type_name in (select agft.film_type_id from fc_admin_group_filmtype agft where agft.group_id = ?)"
,
new
Object
[]{
group_id
})
...
...
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