mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-24 08:33:16 +08:00
Update exp to sql
This commit is contained in:
@@ -107,7 +107,7 @@ namespace SqlSugar
|
||||
{
|
||||
if (result.Contains(","))
|
||||
{
|
||||
return $"listagg(to_char({result.Split(',').First()}),'{separator}') within group(order by {result.Split(',').First()}) ";
|
||||
return $"listagg(to_char({result.Split(',').First()}),'{separator}') within group(order by {result.Split(',').Last()}) ";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user