server/system_service/src/main/java/com/doumee/core/utils/DateUtil.java
@@ -460,7 +460,7 @@ * @return String * @throws Exception */ public static String getPlusTime(Date date) throws Exception { public static String getPlusTime(Date date) { if (date == null) return null; try { @@ -1283,6 +1283,9 @@ * @return */ public static Date getXMinuteAfterDate(Date date, int minute) { if(date ==null){ date = new Date(); } Calendar now = Calendar.getInstance(); now.setTime(date); now.set(Calendar.MINUTE, now.get(Calendar.MINUTE) + minute);