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
5def6d2d
Commit
5def6d2d
authored
Nov 05, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
87290d5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
UserReviewServiceImpl.java
...olm/film/api/user/service/impl/UserReviewServiceImpl.java
+6
-4
No files found.
src/main/java/com/egolm/film/api/user/service/impl/UserReviewServiceImpl.java
View file @
5def6d2d
...
...
@@ -42,8 +42,8 @@ public class UserReviewServiceImpl implements UserReviewService {
if
(
push_date
!=
null
)
{
strs
.
add
(
"allot.push_time >= ?"
);
strs
.
add
(
"allot.push_time < ?"
);
args
.
add
(
DateUtil
.
start
(
push_date
));
args
.
add
(
DateUtil
.
end
(
DateUtil
.
start
(
push_date
)));
args
.
add
(
DateUtil
.
start
(
push_date
)
.
getTime
()/
1000
);
args
.
add
(
DateUtil
.
end
(
DateUtil
.
start
(
push_date
))
.
getTime
()/
1000
);
}
if
(
film_type_name
!=
null
&&
film_type_name
.
trim
().
length
()
>
0
)
{
strs
.
add
(
"film.film_type_name = ?"
);
...
...
@@ -61,6 +61,7 @@ public class UserReviewServiceImpl implements UserReviewService {
+
"allot.uid, "
+
"allot.review_round, "
+
"allot.film_id, "
+
"allot.push_time, "
+
"review.is_save, "
+
"review.state review_state, "
+
"review.save_state "
...
...
@@ -89,8 +90,8 @@ public class UserReviewServiceImpl implements UserReviewService {
if
(
push_date
!=
null
)
{
strs
.
add
(
"allot.push_time >= ?"
);
strs
.
add
(
"allot.push_time < ?"
);
args
.
add
(
DateUtil
.
start
(
push_date
));
args
.
add
(
DateUtil
.
end
(
DateUtil
.
start
(
push_date
)));
args
.
add
(
DateUtil
.
start
(
push_date
)
.
getTime
()/
1000
);
args
.
add
(
DateUtil
.
end
(
DateUtil
.
start
(
push_date
))
.
getTime
()/
1000
);
}
if
(
film_type_name
!=
null
&&
film_type_name
.
trim
().
length
()
>
0
)
{
strs
.
add
(
"film.film_type_name = ?"
);
...
...
@@ -108,6 +109,7 @@ public class UserReviewServiceImpl implements UserReviewService {
+
"allot.uid, "
+
"allot.review_round, "
+
"allot.film_id, "
+
"allot.push_time, "
+
"review.is_save, "
+
"review.state review_state, "
+
"review.save_state "
...
...
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