diff --git a/SQLBuilder/Repositories/BaseRepository.cs b/SQLBuilder/Repositories/BaseRepository.cs index 484be63..485e93f 100644 --- a/SQLBuilder/Repositories/BaseRepository.cs +++ b/SQLBuilder/Repositories/BaseRepository.cs @@ -2525,7 +2525,7 @@ public virtual async Task UpdateAsync(Expression> predicat /// 获取Any对应的sql语句 /// /// - public virtual string GetAnySql() => "SELECT CASE WHEN EXISTS ({0}) THEN 1 ELSE 0 END;"; + public virtual string GetAnySql() => "SELECT CASE WHEN EXISTS ({0}) THEN 1 ELSE 0 END"; /// /// 是否存在任意一个满足查询条件的实体