Commit 060438f4 authored by yanzg's avatar yanzg

处理分页重复提示BUG

parent b481740d
...@@ -259,10 +259,8 @@ public class DateHelper { ...@@ -259,10 +259,8 @@ public class DateHelper {
public static Date initMillSecond(Date date) { public static Date initMillSecond(Date date) {
Calendar c = Calendar.getInstance(); Calendar c = Calendar.getInstance();
c.setTime(date); c.setTime(date);
//当前起始日期 c.set(Calendar.MILLISECOND, 0);
Calendar begin = Calendar.getInstance(); return c.getTime();
begin.set(Calendar.MILLISECOND, 0);
return begin.getTime();
} }
private static void setDayEnd(Calendar cal) { private static void setDayEnd(Calendar cal) {
......
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