eims/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/DateUtils.java
@@ -129,6 +129,13 @@ } /** * 计算相差天数 */ public static int differentDays(Date date1, Date date2) { return (int) ((date2.getTime() - date1.getTime()) / (1000 * 3600 * 24)); } /** * 计算两个时间差 */ public static String getDatePoor(Date endDate, Date nowDate) {