Update 人大金仓

This commit is contained in:
sunkaixuan
2024-09-06 14:37:21 +08:00
parent 9885c52f15
commit 468e3cc649

View File

@@ -173,11 +173,11 @@ namespace SqlSugar
} }
else if (dbType == "char") else if (dbType == "char")
{ {
dbType = "char(100)"; dbType = "char(8000)";
} }
else if (dbType == "nchar") else if (dbType == "nchar")
{ {
dbType = "nchar(100)"; dbType = "nchar(4000)";
} }
} }
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType); return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType);