mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update exp to sql
This commit is contained in:
parent
b9c17143c2
commit
a8cb4fabb6
@ -140,11 +140,19 @@ namespace SqlSugar
|
||||
inValues.Add(inStr);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (item is string &&item.HasValue() && model?.Conext?.SugarContext?.Context?.CurrentConnectionConfig?.DbType == DbType.MySql)
|
||||
{
|
||||
var newValue= item.ToString().Replace("\\", "\\\\");
|
||||
inValues.Add(newValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
inValues.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var value = model.Args[1].MemberName;
|
||||
string inValueString = null;
|
||||
var isNvarchar = model.Args.Count == 3;
|
||||
|
Loading…
Reference in New Issue
Block a user