mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Synchronization code
This commit is contained in:
parent
d583fd8352
commit
1b27123e6a
@ -104,6 +104,10 @@ namespace SqlSugar
|
|||||||
this.OldSql += this.Offset;
|
this.OldSql += this.Offset;
|
||||||
}
|
}
|
||||||
result = GetSqlQuerySql(result);
|
result = GetSqlQuerySql(result);
|
||||||
|
if (isFirst && IsDistinct)
|
||||||
|
{
|
||||||
|
result = result.Replace("TOP 1 DISTINCT", "TOP 1 ");
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user