mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
ConfigQuery BUG
This commit is contained in:
parent
6ec156fee7
commit
74fd6b27b6
@ -131,7 +131,7 @@ namespace SqlSugar
|
||||
foreach (var item in entity.Parameter)
|
||||
{
|
||||
var oldName = item.ParameterName;
|
||||
item.ParameterName = oldName + "_con_" + this.Context.ParameterIndex;
|
||||
item.ParameterName = Regex.Split(oldName,"_con_").First() + "_con_" + this.Context.ParameterIndex;
|
||||
entity.Where = entity.Where.Replace(oldName, item.ParameterName);
|
||||
}
|
||||
this.Context.ParameterIndex++;
|
||||
|
Loading…
Reference in New Issue
Block a user