diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs index 353db9dd0..630c8321e 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs @@ -49,7 +49,7 @@ namespace SqlSugar } else if (type == PubConst.DateType) { - this.DbType = System.Data.DbType.Date; + this.DbType = System.Data.DbType.DateTime; } else if (type == PubConst.DobType) {