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