MySql DateTime Bug

This commit is contained in:
sunkaixuan
2017-07-03 00:12:48 +08:00
parent 1f6b7dc90d
commit d8591bf969

View File

@@ -49,7 +49,7 @@ namespace SqlSugar
} }
else if (type == PubConst.DateType) else if (type == PubConst.DateType)
{ {
this.DbType = System.Data.DbType.Date; this.DbType = System.Data.DbType.DateTime;
} }
else if (type == PubConst.DobType) else if (type == PubConst.DobType)
{ {