mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 21:17:08 +00:00
[fix][chat]Fix compatibility issue.
This commit is contained in:
@@ -12,6 +12,7 @@ public class QueryColumn {
|
||||
private String name;
|
||||
private String type;
|
||||
private String bizName;
|
||||
private String nameEn;
|
||||
private String showType;
|
||||
private Boolean authorized = true;
|
||||
private String dataFormatType;
|
||||
@@ -22,6 +23,7 @@ public class QueryColumn {
|
||||
public QueryColumn(String bizName, String type) {
|
||||
this.type = type;
|
||||
this.bizName = bizName;
|
||||
this.nameEn = bizName;
|
||||
this.name = bizName;
|
||||
}
|
||||
|
||||
@@ -29,10 +31,16 @@ public class QueryColumn {
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
this.bizName = bizName;
|
||||
this.nameEn = bizName;
|
||||
this.showType = "CATEGORY";
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type == null ? null : type;
|
||||
}
|
||||
|
||||
public void setBizName(String bizName) {
|
||||
this.bizName = bizName;
|
||||
this.nameEn = bizName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user