Commit 05d0ee5f authored by yanzg's avatar yanzg

修改实体位置

parent 97e947fd
......@@ -678,7 +678,7 @@ public class DateHelper {
public static Date addSecond(Date date, int second) {
Calendar cal = Calendar.getInstance();
cal.setTime(date);
cal.add(Calendar.MINUTE, second);
cal.add(Calendar.SECOND, second);
return cal.getTime();
}
......
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