mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
ab3a0d5dcd
commit
17e24d147d
@ -871,13 +871,17 @@ namespace SqlSugar
|
||||
{
|
||||
newValue = value.ToString();
|
||||
}
|
||||
else if(columnInfo.UnderType==SqlSugar.UtilConstants.GuidType)
|
||||
else if (value is Enum)
|
||||
{
|
||||
newValue = Convert.ToInt64(value)+"";
|
||||
}
|
||||
else if (columnInfo.UnderType == SqlSugar.UtilConstants.GuidType)
|
||||
{
|
||||
newValue = ToGuid(new MethodCallExpressionModel()
|
||||
{
|
||||
Args=new List<MethodCallExpressionArgs>()
|
||||
Args = new List<MethodCallExpressionArgs>()
|
||||
{
|
||||
new MethodCallExpressionArgs(){
|
||||
new MethodCallExpressionArgs(){
|
||||
MemberValue=value.ToSqlValue(),
|
||||
MemberName=value.ToSqlValue()
|
||||
}
|
||||
@ -897,7 +901,7 @@ namespace SqlSugar
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
newValue = value.ToSqlValue();
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.154</version>
|
||||
<version>5.1.4.155-preview02</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user