Update WhereClass

This commit is contained in:
sunkaixuan 2022-05-20 19:25:52 +08:00
parent 05b6c04479
commit 4389ee561a

View File

@ -533,6 +533,10 @@ namespace SqlSugar
} }
} }
else if (value != null && column.PropertyInfo.PropertyType == UtilConstants.DateType)
{
data.Value.FieldValue = value.ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.ffffff");
}
cons.ConditionalList.Add(data); cons.ConditionalList.Add(data);
if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL) if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL)
{ {