修复部分bug
This commit is contained in:
parent
be41a70c76
commit
7535300107
@ -175,8 +175,9 @@ func (that *MakeCode) Db2JSON(db *db.HoTimeDB, config Map) {
|
|||||||
if coloum == nil {
|
if coloum == nil {
|
||||||
//根据类型判断真实类型
|
//根据类型判断真实类型
|
||||||
for k, v1 := range ColumnDataType {
|
for k, v1 := range ColumnDataType {
|
||||||
if strings.Contains(info.GetString("name"), k) || strings.Contains(info.GetString("type"), k) {
|
if strings.Contains(info.GetString("type"), k) {
|
||||||
info["type"] = v1
|
info["type"] = v1
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user