API数据表更新
This commit is contained in:
@@ -56,13 +56,13 @@ public class dataController {
|
||||
@Data
|
||||
static class TabColumns implements Serializable {
|
||||
private String tableName;
|
||||
private String sort;
|
||||
private Integer sort;
|
||||
private String colName;
|
||||
private String colType;
|
||||
private String colDesc;
|
||||
private String keyType;
|
||||
|
||||
public TabColumns(String tableName, String sort, String colName, String colType, String colDesc, String keyType) {
|
||||
public TabColumns(String tableName, Integer sort, String colName, String colType, String colDesc, String keyType) {
|
||||
this.tableName = tableName;
|
||||
this.sort = sort;
|
||||
this.colName = colName;
|
||||
@@ -197,7 +197,7 @@ public class dataController {
|
||||
querySql,
|
||||
(rs, rowNum) -> new TabColumns(
|
||||
rs.getString("TABLE_NAME"),
|
||||
rs.getString("ORDINAL_POSITION"),
|
||||
rs.getInt("ORDINAL_POSITION"),
|
||||
rs.getString("COLUMN_NAME"),
|
||||
rs.getString("COLUMN_TYPE"),
|
||||
rs.getString("COLUMN_COMMENT"),
|
||||
|
||||
Reference in New Issue
Block a user