mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
-
This commit is contained in:
@@ -30,7 +30,6 @@ namespace SqlSugar
|
|||||||
return reval;
|
return reval;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetMessage(SqlSugarClient context, string message, string sql, object pars)
|
private static string GetMessage(SqlSugarClient context, string message, string sql, object pars)
|
||||||
{
|
{
|
||||||
if (pars == null)
|
if (pars == null)
|
||||||
@@ -43,16 +42,14 @@ namespace SqlSugar
|
|||||||
return reval;
|
return reval;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetMessage(string message, string sql)
|
private static string GetMessage(string message, string sql)
|
||||||
{
|
{
|
||||||
var reval = GetLineMessage("message ", message) + GetLineMessage("ORM Sql", sql);
|
var reval = GetLineMessage("message ", message) + GetLineMessage("ORM Sql", sql);
|
||||||
return reval;
|
return reval;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetLineMessage(string key, string value)
|
private static string GetLineMessage(string key, string value)
|
||||||
{
|
{
|
||||||
return string.Format("{0} : 【{1}】\r\n", key, value);
|
return string.Format("{0} : '{1}' \r\n", key, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user