秋辞未寒
2024-12-09 9e613488f1a01563913b4f6aade062980a315fea
ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ObjectUtils.java
@@ -44,19 +44,6 @@
    }
    /**
     * 如果值不为空,则返回值
     *
     * @param obj          对象
     * @return 对象字段
     */
    public static <T> T notNull(T obj) {
        if (isNotNull(obj)) {
            return obj;
        }
        return null;
    }
    /**
     * 如果值不为空,则返回值,否则返回默认值
     *
     * @param obj          对象