bug
luohairen
2024-12-10 062b1245a57d4e8a1e04a62efbc7d872e36eb073
common/src/main/java/com/ycl/common/enums/business/ProjectTypeEnum.java
@@ -29,4 +29,13 @@
        this.type = type;
        this.desc = desc;
    }
    public static String getDescByType(String type) {
        for (ProjectTypeEnum projectType : ProjectTypeEnum.values()) {
            if (projectType.type.equals(type)) {
                return projectType.desc;
            }
        }
        return null; // 如果没有找到对应的type,可以返回null或抛出异常
    }
}