k94314517
2025-07-17 bbd9c436f23f5fdbe712c4a22d90b457066bdf38
server/services/src/main/java/com/doumee/core/utils/DateUtil.java
@@ -2060,6 +2060,11 @@
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        return formatter.format(date);
    }
    public static String getCurrDateTimeShort() {
        Timestamp date = new Timestamp(System.currentTimeMillis());
        SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHHmmss");
        return formatter.format(date);
    }
    /**
     * 得到当前日期时间,格式为yyyy-MM-dd.