Commit 060438f4 authored by yanzg's avatar yanzg

处理分页重复提示BUG

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