代码生成支持pgsql数据类型

This commit is contained in:
不做码农
2023-05-23 16:21:04 +08:00
parent 01e7fbd94f
commit be54ae8379
5 changed files with 20 additions and 20 deletions

View File

@@ -357,7 +357,7 @@ namespace ZR.CodeGenerator
sDatatype = sDatatype.ToLower();
string sTempDatatype = sDatatype switch
{
"int" or "number" or "integer" or "smallint" => "int",
"int" or "number" or "integer" or "smallint" or "int4" or "int8" or "int2" => "int",
"bigint" => "long",
"tinyint" => "byte",
"numeric" or "real" or "float" => "float",