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