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
eeefcf41
Commit
eeefcf41
authored
Dec 06, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
7625b2d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+14
-14
No files found.
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
eeefcf41
...
@@ -39,25 +39,25 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -39,25 +39,25 @@ public class ReviewServiceImpl implements ReviewService {
String
sql
=
""
String
sql
=
""
+
"select "
+
"select "
+
"mf.*, "
+
"mf.*, "
+
"r.id, "
+
"r.enroll_type_id, "
+
"r.enroll_type_id, "
+
"r.review_round, "
+
"r.review_round, "
+
"r.create_time push_time, "
+
"r.create_time push_time, "
+
"r
u
.view_state, "
+
"r
r
.view_state, "
+
"r
u
.review_state, "
+
"r
r
.review_state, "
+
"r
u
.review_score, "
+
"r
r
.review_score, "
+
"r
u
.review_text, "
+
"r
r
.review_text, "
+
"r
u
.review_text_summary, "
+
"r
r
.review_text_summary, "
+
"r
u
.review_text_theme, "
+
"r
r
.review_text_theme, "
+
"r
u
.review_text_style, "
+
"r
r
.review_text_style, "
+
"r
u
.review_text_keynote "
+
"r
r
.review_text_keynote "
+
"from "
+
"from "
+
"fc_member_film mf, fc_review
_round rr, fc_review r, fc_review_record ru
"
+
"fc_member_film mf, fc_review
r, fc_review_record rr
"
+
"where "
+
"where "
+
" mf.id = rr.film_id "
+
" mf.id = r.film_id "
+
"and rr.film_id = r.film_id "
+
"and r.id = rr.review_id "
+
"and rr.enroll_type_id = r.enroll_type_id "
+
"and r.review_round = rr.review_round"
+
"and r.id = ru.review_id "
+
"and rr.user_id = "
+
user_id
+
"and ru.user_id = "
+
user_id
+
StringUtil
.
join
(
" and "
,
" and "
,
""
,
""
,
where
.
getStringList
());
+
StringUtil
.
join
(
" and "
,
" and "
,
""
,
""
,
where
.
getStringList
());
return
jdbcTemplate
.
limit
(
sql
,
page
,
where
.
getObjectList
());
return
jdbcTemplate
.
limit
(
sql
,
page
,
where
.
getObjectList
());
}
}
...
...
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