1
This commit is contained in:
parent
328c865bb6
commit
b0df9941d9
@ -64,7 +64,7 @@ public enum RecordTypeEnum {
|
||||
* @param code code
|
||||
* @return cn.iocoder.yudao.common.SystemEnum
|
||||
**/
|
||||
public static RecordTypeEnum getRepairRole(String code) {
|
||||
public static RecordTypeEnum getEnumByCode(String code) {
|
||||
for (RecordTypeEnum thisEnum : RecordTypeEnum.values()) {
|
||||
if (thisEnum.getCode().equalsIgnoreCase(code)) {
|
||||
// 找到对应的枚举
|
||||
|
Loading…
Reference in New Issue
Block a user