Skip to content

Commit

Permalink
Merge pull request #175 from Swmiao1/mssql
Browse files Browse the repository at this point in the history
Mssql
  • Loading branch information
xxjwxc authored Nov 30, 2021
2 parents 206de7b + f93dab8 commit 70b3722
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions data/view/cnf/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ var TypeMysqlDicMp = map[string]string{
"mediumblob": "[]byte",
"longblob": "[]byte",
"integer": "int64",
"numeric": "float64",
"smalldatetime": "time.Time", //sqlserver
"nvarchar": "string",
"real": "float32",
"binary": "[]byte",
}

// TypeMysqlMatchList Fuzzy Matching Types.模糊匹配类型
Expand Down
2 changes: 1 addition & 1 deletion data/view/model/genmssql/genmssql.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ on
where
d.name='%v'
order by
a.id,a.colorder`, tab)
a.colorder`, tab)

lenPk := 0
// get keys
Expand Down

0 comments on commit 70b3722

Please sign in to comment.