using AutoMapper; using OASystem.Domain.Entities.Customer; using OASystem.Domain.ViewModels.CRM; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Infrastructure.Repositories.CRM { /// /// 表操作记录 /// public class TableOperationRecordRepository : BaseRepository { private readonly IMapper _mapper; public TableOperationRecordRepository(SqlSugarClient sqlSugar, IMapper mapper) : base(sqlSugar) { this._mapper = mapper; } /// /// 添加 /// /// /// public async Task _Add(Crm_TableOperationRecord _TableOperationRecord) { var add = await _sqlSugar.Insertable(_TableOperationRecord).ExecuteCommandAsync(); if (add > 0) { return true; } return false; } } }