Commit 702d83bc by shiwenbo

修改消息触发时机的错误

parent 49bc5685
......@@ -148,7 +148,7 @@ public class RemindServiceImpl implements RemindService,ScheduleConstants,SchePa
* 计算二个日期之见的差值(间隔的秒数)
*/
private int calcSeconds(Date sdate, Date edate) {
return Math.round((edate.getTime() - edate.getTime()) / 1000);
return Math.round((edate.getTime() - sdate.getTime()) / 1000);
}
......
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