|
|
@ -664,7 +664,8 @@ namespace SqlSugar |
|
|
|
{ |
|
|
|
return _Avg<TResult>(expression); |
|
|
|
} |
|
|
|
public virtual T[] ToArray() { |
|
|
|
public virtual T[] ToArray() |
|
|
|
{ |
|
|
|
|
|
|
|
var result = this.ToList(); |
|
|
|
if (result.HasValue()) |
|
|
@ -1138,7 +1139,8 @@ namespace SqlSugar |
|
|
|
foreach (var column in this.EntityInfo.Columns.Where(it => it.IsTranscoding)) |
|
|
|
{ |
|
|
|
var value = column.PropertyInfo.GetValue(item, null); |
|
|
|
if (value != null) { |
|
|
|
if (value != null) |
|
|
|
{ |
|
|
|
column.PropertyInfo.SetValue(item, UtilMethods.DecodeBase64(value.ToString()), null); |
|
|
|
} |
|
|
|
} |
|
|
|