mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update Core
This commit is contained in:
@@ -418,7 +418,8 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
ConditionalType = ConditionalType.Equal,
|
ConditionalType = ConditionalType.Equal,
|
||||||
FieldName = this.QueryBuilder.Builder.GetTranslationColumnName(column.DbColumnName),
|
FieldName = this.QueryBuilder.Builder.GetTranslationColumnName(column.DbColumnName),
|
||||||
FieldValue = value.ObjToString()
|
FieldValue = value.ObjToString(),
|
||||||
|
CSharpTypeName = column.PropertyInfo.PropertyType.Name
|
||||||
});
|
});
|
||||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL)
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL)
|
||||||
{
|
{
|
||||||
@@ -483,7 +484,8 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
ConditionalType = ConditionalType.Equal,
|
ConditionalType = ConditionalType.Equal,
|
||||||
FieldName = column.DbColumnName,
|
FieldName = column.DbColumnName,
|
||||||
FieldValue = value.ObjToString()
|
FieldValue = value.ObjToString(),
|
||||||
|
CSharpTypeName=column.PropertyInfo.PropertyType.Name
|
||||||
});
|
});
|
||||||
if (value != null && value.GetType().IsEnum())
|
if (value != null && value.GetType().IsEnum())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user