mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update .net core project
This commit is contained in:
@@ -439,6 +439,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
expResult = Regex.Split(expResult, " IS NULL ")[0]+" = NULL ";
|
expResult = Regex.Split(expResult, " IS NULL ")[0]+" = NULL ";
|
||||||
}
|
}
|
||||||
|
else if (!expResult.Contains("=")&&expResult.Contains("IS NULL "))
|
||||||
|
{
|
||||||
|
expResult = Regex.Split(expResult, "IS NULL ")[0] + " = NULL ";
|
||||||
|
}
|
||||||
string key = SqlBuilder.GetNoTranslationColumnName(expResult);
|
string key = SqlBuilder.GetNoTranslationColumnName(expResult);
|
||||||
|
|
||||||
if (EntityInfo.Columns.Where(it=>it.IsJson||it.IsTranscoding).Any(it => it.DbColumnName.EqualCase(key) || it.PropertyName.EqualCase(key)))
|
if (EntityInfo.Columns.Where(it=>it.IsJson||it.IsTranscoding).Any(it => it.DbColumnName.EqualCase(key) || it.PropertyName.EqualCase(key)))
|
||||||
|
Reference in New Issue
Block a user