forked from ddrilling/AsbCloudServer
Убран лишний метод
This commit is contained in:
parent
833c506325
commit
7f683bc361
@ -275,7 +275,7 @@ public abstract class ChangeLogRepositoryAbstract<TDto, TEntity, TRequest> : ICh
|
||||
return entity;
|
||||
}
|
||||
|
||||
protected ChangeLogDto<TDto> Convert(TEntity entity, TimeSpan offset)
|
||||
protected virtual ChangeLogDto<TDto> Convert(TEntity entity, TimeSpan offset)
|
||||
{
|
||||
var dto = entity.Adapt<ChangeLogDto<TDto>>();
|
||||
dto.Creation = entity.Creation.ToOffset(offset);
|
||||
|
@ -56,13 +56,6 @@ public class ProcessMapPlanBaseRepository<TDto, TEntity> : ChangeLogRepositoryAb
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected TDto Convert(TEntity entity, TimeSpan offset)
|
||||
{
|
||||
var dto = entity.Adapt<TDto>();
|
||||
dto.Section = entity.WellSectionType.Caption;
|
||||
return dto;
|
||||
}
|
||||
|
||||
protected override TEntity Convert(TDto dto)
|
||||
{
|
||||
var entity = base.Convert(dto);
|
||||
|
Loading…
Reference in New Issue
Block a user