Skip to content

Commit

Permalink
Synchronization code
Browse files Browse the repository at this point in the history
  • Loading branch information
DotNetNext committed Jan 11, 2024
1 parent 7f439ec commit dfbd0a3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ private string GetValueByAuto(MethodCallExpression exp)
var select = copyContext.Result.GetString();
if (dic.Count > 0 && appendColumns.Count == 0)
{
if (copyContext.Parameters?.Any()==true)
{
this.Context.Parameters.AddRange(copyContext.Parameters);
select = select.Replace("), AS", ") AS");
}
return select + ",@sugarIndex as sugarIndex"; ;
}
else if (dic.Count > 0 && appendColumns.Count > 0)
Expand Down

0 comments on commit dfbd0a3

Please sign in to comment.