Merge pull request #175 from Swmiao1/mssql

Mssql
This commit is contained in:
xxj
2021-11-30 16:34:35 +08:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -46,6 +46,11 @@ var TypeMysqlDicMp = map[string]string{
"mediumblob": "[]byte", "mediumblob": "[]byte",
"longblob": "[]byte", "longblob": "[]byte",
"integer": "int64", "integer": "int64",
"numeric": "float64",
"smalldatetime": "time.Time", //sqlserver
"nvarchar": "string",
"real": "float32",
"binary": "[]byte",
} }
// TypeMysqlMatchList Fuzzy Matching Types.模糊匹配类型 // TypeMysqlMatchList Fuzzy Matching Types.模糊匹配类型

View File

@@ -159,7 +159,7 @@ on
where where
d.name='%v' d.name='%v'
order by order by
a.id,a.colorder`, tab) a.colorder`, tab)
lenPk := 0 lenPk := 0
// get keys // get keys