mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Synchronization code
This commit is contained in:
parent
b3e4984563
commit
a3da51a167
@ -246,7 +246,7 @@ namespace SqlSugar
|
||||
.AS(this.ProPertyEntity.DbTableName)
|
||||
.Filter(isClearFilter?null:this.ProPertyEntity.Type)
|
||||
.WhereIF(!string.IsNullOrEmpty(whereSql), whereSql)
|
||||
.Where($" {name}={ShorName}.{pk} ").Select(MethodName == "Any" ? "1" : " COUNT(1) ").ToSql();
|
||||
.Where($" {name}={queryable.QueryBuilder.Builder.GetTranslationColumnName( ShorName)}.{pk} ").Select(MethodName == "Any" ? "1" : " COUNT(1) ").ToSql();
|
||||
if (sqlObj.Value?.Any() == true)
|
||||
{
|
||||
foreach (var item in sqlObj.Value)
|
||||
|
Loading…
Reference in New Issue
Block a user