|
|
@ -141,9 +141,16 @@ namespace SqlSugar |
|
|
|
return "to_date('" + date.ToString("yyyy-MM-dd HH:mm:ss") + "', 'YYYY-MM-DD HH24:MI:SS') "; |
|
|
|
} |
|
|
|
else if (type == UtilConstants.StringType || type == UtilConstants.ObjType) |
|
|
|
{ |
|
|
|
if (value.ToString().Length > 2000) |
|
|
|
{ |
|
|
|
return "to_clob('" + value.ToString().ToSqlFilter() + "')"; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
return N + "'" + value.ToString().ToSqlFilter() + "'"; |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
return N + "'" + value.ToString() + "'"; |
|
|
|