mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 03:09:34 +08:00
Update exp to sql
This commit is contained in:
@@ -871,11 +871,15 @@ 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(){
|
||||
MemberValue=value.ToSqlValue(),
|
||||
|
||||
Reference in New Issue
Block a user