- 完善 MapType byte[] 对 Contains/Parse 表达式解析的处理;#178

This commit is contained in:
28810
2020-01-07 18:16:37 +08:00
parent 0addfc638a
commit 0dec7ff587
17 changed files with 34 additions and 19 deletions

View File

@ -38,7 +38,7 @@ namespace FreeSql.PostgreSQL
public override object AddslashesProcessParam(object param, Type mapType, ColumnInfo mapColumn)
{
if (param == null) return "NULL";
if (mapType != null && mapType != param.GetType() && (param is IEnumerable == false || mapType.IsArrayOrList() || param is JToken || param is JObject || param is JArray))
if (mapType != null && mapType != param.GetType() && (param is IEnumerable == false || param is JToken || param is JObject || param is JArray))
param = Utils.GetDataReaderValue(mapType, param);
bool isdic;