fuliqi
2024-09-04 0c2b1e149c6c0d9d9ec78bf4f871b3cea2cbfadc
ycl-common/src/main/java/enumeration/general/AreaDeptEnum.java
@@ -36,5 +36,12 @@
        }
        return null;
    }
    public static AreaDeptEnum fromDept(Integer deptId) {
        for (AreaDeptEnum type : AreaDeptEnum.values()) {
            if (type.getDeptId().equals(deptId) ) {
                return type;
            }
        }
        return null;
    }
}