MrShi
2025-01-13 a09708582ca65d621d14a8c6a3a22222dd7db0d9
server/system_service/src/main/java/com/doumee/core/utils/DateUtil.java
@@ -1968,13 +1968,13 @@
    }
    /**
     * 得到当前日期时间,格式为yyyy-MM-dd hh:mm:ss.
     * 得到当前日期时间,格式为yyyy-MM-dd HH:mm:ss.
     *
     * @return String
     */
    public static String getCurrDateTime() {
        Timestamp date = new Timestamp(System.currentTimeMillis());
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return formatter.format(date);
    }