车间能级提升-智能设备管理系统
zhuguifei
2025-03-10 6648e74a007254e167c5508de5d25402cd4bb63b
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) {