mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-11-09 16:57:16 +08:00
fix: 移除枚举类重写的 toString 方法,解决由此引发的代码生成错误
This commit is contained in:
@@ -88,9 +88,4 @@ public enum FormTypeEnum implements BaseEnum<Integer> {
|
||||
|
||||
private final Integer value;
|
||||
private final String description;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "%s: %s".formatted(this.value, this.description);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,9 +103,4 @@ public enum QueryTypeEnum implements BaseEnum<Integer> {
|
||||
|
||||
private final Integer value;
|
||||
private final String description;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "%s: %s".formatted(this.value, this.description);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user