Update List.Any null bug

This commit is contained in:
sunkaixuan 2024-09-06 10:04:10 +08:00
parent 35efe231e3
commit cf7cffc007

View File

@ -1102,6 +1102,7 @@ namespace SqlSugar
sb.Append(" ) ");
}
var result = sb.ToString();
result = result.Replace(" = null)", " is null)");
if (result.IsNullOrEmpty())
{
return " 1=2 ";