|
|
@ -640,7 +640,7 @@ namespace SqlSugar |
|
|
|
DiffLogColumnInfo addItem = new DiffLogColumnInfo(); |
|
|
|
addItem.Value = row[col.ColumnName]; |
|
|
|
addItem.ColumnName = col.ColumnName; |
|
|
|
addItem.ColumnDescription = this.EntityInfo.Columns.First(it => it.DbColumnName.Equals(col.ColumnName, StringComparison.CurrentCultureIgnoreCase)).ColumnDescription; |
|
|
|
addItem.ColumnDescription = this.EntityInfo.Columns.Where(it=>it.DbColumnName!=null).First(it => it.DbColumnName.Equals(col.ColumnName, StringComparison.CurrentCultureIgnoreCase)).ColumnDescription; |
|
|
|
item.Columns.Add(addItem); |
|
|
|
} |
|
|
|
result.Add(item); |
|
|
|