mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Synchronization code
This commit is contained in:
@@ -246,7 +246,7 @@ namespace SqlSugar
|
|||||||
.AS(this.ProPertyEntity.DbTableName)
|
.AS(this.ProPertyEntity.DbTableName)
|
||||||
.Filter(isClearFilter?null:this.ProPertyEntity.Type)
|
.Filter(isClearFilter?null:this.ProPertyEntity.Type)
|
||||||
.WhereIF(!string.IsNullOrEmpty(whereSql), whereSql)
|
.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)
|
if (sqlObj.Value?.Any() == true)
|
||||||
{
|
{
|
||||||
foreach (var item in sqlObj.Value)
|
foreach (var item in sqlObj.Value)
|
||||||
|
Reference in New Issue
Block a user