Merge remote-tracking branch 'origin/cc_partner_init' into cc_partner_init

This commit is contained in:
zhangchenbiao
2024-05-06 16:43:34 +08:00
43 changed files with 1084 additions and 220 deletions

View File

@@ -34,4 +34,13 @@ public enum LicenseTypeEnum {
}
return null;
}
public static LicenseTypeEnum matchName(String name) {
for (LicenseTypeEnum type : LicenseTypeEnum.values()) {
if (type.getMessage().equals(name)) {
return type;
}
}
return null;
}
}