车间能级提升-智能设备管理系统
baoshiwei
2025-06-24 f571cf0182abd65176fb1512c5cb5ddaea49c4a3
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) {