Skip to content

Commit

Permalink
mssql 参数类型
Browse files Browse the repository at this point in the history
在排序依据列表中多次指定了某一列。排序依据列表中的列必须是唯一的
  • Loading branch information
Swmiao1 committed Nov 30, 2021
1 parent 206de7b commit 8ced43d
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": "int64",
"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 8ced43d

Please sign in to comment.