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 { @@ -1638,6 +1638,13 @@ return ""; } } public static String getFirstDayCurrentMonth() { try { return getDateLong(new Date()).substring(0, 7) + "-01"; } catch (Exception e) { return ""; } } /** * 将yyyyMM各式转换成yyyy年MM月格式