改造平台建店接口
This commit is contained in:
@@ -21,4 +21,13 @@ public enum DownSystemTypeEnum {
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public static DownSystemTypeEnum getByCode(Integer code){
|
||||
for (DownSystemTypeEnum value : DownSystemTypeEnum.values()) {
|
||||
if(value.getCode().equals(code)){
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user