Commit 5def6d2d authored by Quxl's avatar Quxl

修改BUG

parent 87290d5f
...@@ -42,8 +42,8 @@ public class UserReviewServiceImpl implements UserReviewService { ...@@ -42,8 +42,8 @@ public class UserReviewServiceImpl implements UserReviewService {
if(push_date != null) { if(push_date != null) {
strs.add("allot.push_time >= ?"); strs.add("allot.push_time >= ?");
strs.add("allot.push_time < ?"); strs.add("allot.push_time < ?");
args.add(DateUtil.start(push_date)); args.add(DateUtil.start(push_date).getTime()/1000);
args.add(DateUtil.end(DateUtil.start(push_date))); args.add(DateUtil.end(DateUtil.start(push_date)).getTime()/1000);
} }
if(film_type_name != null && film_type_name.trim().length() > 0) { if(film_type_name != null && film_type_name.trim().length() > 0) {
strs.add("film.film_type_name = ?"); strs.add("film.film_type_name = ?");
...@@ -61,6 +61,7 @@ public class UserReviewServiceImpl implements UserReviewService { ...@@ -61,6 +61,7 @@ public class UserReviewServiceImpl implements UserReviewService {
+ "allot.uid, " + "allot.uid, "
+ "allot.review_round, " + "allot.review_round, "
+ "allot.film_id, " + "allot.film_id, "
+ "allot.push_time, "
+ "review.is_save, " + "review.is_save, "
+ "review.state review_state, " + "review.state review_state, "
+ "review.save_state " + "review.save_state "
...@@ -89,8 +90,8 @@ public class UserReviewServiceImpl implements UserReviewService { ...@@ -89,8 +90,8 @@ public class UserReviewServiceImpl implements UserReviewService {
if(push_date != null) { if(push_date != null) {
strs.add("allot.push_time >= ?"); strs.add("allot.push_time >= ?");
strs.add("allot.push_time < ?"); strs.add("allot.push_time < ?");
args.add(DateUtil.start(push_date)); args.add(DateUtil.start(push_date).getTime()/1000);
args.add(DateUtil.end(DateUtil.start(push_date))); args.add(DateUtil.end(DateUtil.start(push_date)).getTime()/1000);
} }
if(film_type_name != null && film_type_name.trim().length() > 0) { if(film_type_name != null && film_type_name.trim().length() > 0) {
strs.add("film.film_type_name = ?"); strs.add("film.film_type_name = ?");
...@@ -108,6 +109,7 @@ public class UserReviewServiceImpl implements UserReviewService { ...@@ -108,6 +109,7 @@ public class UserReviewServiceImpl implements UserReviewService {
+ "allot.uid, " + "allot.uid, "
+ "allot.review_round, " + "allot.review_round, "
+ "allot.film_id, " + "allot.film_id, "
+ "allot.push_time, "
+ "review.is_save, " + "review.is_save, "
+ "review.state review_state, " + "review.state review_state, "
+ "review.save_state " + "review.save_state "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment