refactor: FormTypeEnum的fromValue方法重构
FormTypeEnum的fromValue方法重构
This commit is contained in:
@@ -73,8 +73,8 @@ public enum FormTypeEnum implements IBaseEnum<Integer> {
|
|||||||
|
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
public static QueryTypeEnum fromValue(Integer value) {
|
public static FormTypeEnum fromValue(Integer value) {
|
||||||
for (QueryTypeEnum type : QueryTypeEnum.values()) {
|
for (FormTypeEnum type : FormTypeEnum.values()) {
|
||||||
if (type.getValue().equals(value)) {
|
if (type.getValue().equals(value)) {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user