|
@ -98,17 +98,17 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
else if (type == UtilConstants.StringType || type == UtilConstants.ObjType) |
|
|
else if (type == UtilConstants.StringType || type == UtilConstants.ObjType) |
|
|
{ |
|
|
{ |
|
|
if (value.ToString().Length > 1000) |
|
|
//if (value.ToString().Length > 1000)
|
|
|
{ |
|
|
//{
|
|
|
++i; |
|
|
++i; |
|
|
var parameterName = this.Builder.SqlParameterKeyWord + name + i; |
|
|
var parameterName = this.Builder.SqlParameterKeyWord + name + i; |
|
|
this.Parameters.Add(new SugarParameter(parameterName, value)); |
|
|
this.Parameters.Add(new SugarParameter(parameterName, value)); |
|
|
return parameterName; |
|
|
return parameterName; |
|
|
} |
|
|
//}
|
|
|
else |
|
|
//else
|
|
|
{ |
|
|
//{
|
|
|
return N + "'" + value.ToString().ToSqlFilter() + "'"; |
|
|
// return N + "'" + value.ToString().ToSqlFilter() + "'";
|
|
|
} |
|
|
//}
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|