Update 达梦

This commit is contained in:
sunkaixuan 2025-06-11 16:36:49 +08:00
parent 0190b7728e
commit 0e9cb3176b

View File

@ -197,7 +197,7 @@ namespace SqlSugar
return sqlParameter.Direction == ParameterDirection.Output && this.CommandType == CommandType.StoredProcedure; return sqlParameter.Direction == ParameterDirection.Output && this.CommandType == CommandType.StoredProcedure;
} }
private static string[] KeyWord =new string []{ "@month", ":month", ":day","@day","@group", ":group",":index", "@index", "@order", ":order", "@user", "@level", ":user", ":level",":type","@type", ":year", "@year" }; private static string[] KeyWord =new string []{ ":asc", "@asc", ":desc", "@desc","@month", ":month", ":day","@day","@group", ":group",":index", "@index", "@order", ":order", "@user", "@level", ":user", ":level",":type","@type", ":year", "@year" };
private static string ReplaceKeyWordParameterName(string sql, SugarParameter[] parameters) private static string ReplaceKeyWordParameterName(string sql, SugarParameter[] parameters)
{ {
sql = ReplaceKeyWordWithAd(sql, parameters); sql = ReplaceKeyWordWithAd(sql, parameters);