fuliqi
2024-09-09 9de954bafc2cfe186eaefc0e99fa5fc292a8d45b
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;
    }
}