mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update Check
This commit is contained in:
parent
7740d8d45a
commit
833a21076d
@ -713,6 +713,12 @@ namespace SqlSugar
|
||||
}
|
||||
if (currentParametres != null && currentParametres.Count > 0)
|
||||
{
|
||||
if (jsoinParameters.Count + 1 != currentParametres.Count)
|
||||
{
|
||||
var str1 = "(" + string.Join(",", currentParametres.Select(it => it.Name)) + ")=>";
|
||||
var str2 = "("+string.Join(",", jsoinParameters.Select(it => it.Name))+",xxx )=>";
|
||||
throw new Exception(ErrorMessage.GetThrowMessage($"请把 {str1} 改成 {str2} ", "Please change {str1} to {str2}."));
|
||||
}
|
||||
foreach (var item in currentParametres.Take(jsoinParameters.Count))
|
||||
{
|
||||
var index = currentParametres.IndexOf(item);
|
||||
|
Loading…
Reference in New Issue
Block a user