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
d583fd8352
commit
1b27123e6a
@ -104,6 +104,10 @@ namespace SqlSugar
|
||||
this.OldSql += this.Offset;
|
||||
}
|
||||
result = GetSqlQuerySql(result);
|
||||
if (isFirst && IsDistinct)
|
||||
{
|
||||
result = result.Replace("TOP 1 DISTINCT", "TOP 1 ");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user