mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update oracle
This commit is contained in:
@@ -129,7 +129,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
foreach (var Parameter in parameters.OrderByDescending(x=>x.ParameterName?.Length))
|
foreach (var Parameter in parameters.OrderByDescending(x=>x.ParameterName?.Length))
|
||||||
{
|
{
|
||||||
if (Parameter.ParameterName != null && Parameter.ParameterName.ToLower().IsContainsIn(KeyWord))
|
if (Parameter.ParameterName != null && Parameter.ParameterName.ToLower().IsContainsStartWithIn(KeyWord))
|
||||||
{
|
{
|
||||||
if (parameters.Count(it => it.ParameterName.StartsWith(Parameter.ParameterName)) == 1)
|
if (parameters.Count(it => it.ParameterName.StartsWith(Parameter.ParameterName)) == 1)
|
||||||
{
|
{
|
||||||
|
@@ -26,6 +26,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return inValues.Any(it => thisValue.Contains(it));
|
return inValues.Any(it => thisValue.Contains(it));
|
||||||
}
|
}
|
||||||
|
public static bool IsContainsStartWithIn(this string thisValue, params string[] inValues)
|
||||||
|
{
|
||||||
|
return inValues.Any(it => thisValue.StartsWith(it));
|
||||||
|
}
|
||||||
|
|
||||||
public static bool IsNullOrEmpty(this object thisValue)
|
public static bool IsNullOrEmpty(this object thisValue)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user