diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpUpdateBuilder.cs b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpUpdateBuilder.cs index d0a6a900b..f2cfdcc43 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpUpdateBuilder.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpUpdateBuilder.cs @@ -163,7 +163,11 @@ namespace SqlSugar } if (IsSqlServerModel()) { - if (dbType == "varchar") + if (dbType == "numeric") + { + dbType = "numeric(18,6)"; + } + else if (dbType == "varchar") { dbType = "varchar(max)"; }