using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Services; namespace Win_in.Sfs.Wms.DataExchange.Domain.Iac.Mes.MesProductL7PartsNotes; public class MesProductL7PartsNoteManager : DomainService, IMesProductL7PartsNoteManager { private readonly IMesProductL7PartsNoteRepository _repository; public MesProductL7PartsNoteManager( IMesProductL7PartsNoteRepository repository) { _repository = repository; } ///// ///// 创建审查 ///// ///// ///// //public virtual async Task CreateAsync(List mesNotes) //{ // //保存相关L7级零件单据 // await _repository.InsertManyAsync(mesNotes); //} /// /// 获取最大的RowID信息 /// /// public async Task GetMaxRowIdAsync() { //保存相关L7级零件单据 return await _repository.MaxAsync(p => p.RowID).ConfigureAwait(false); ; } public virtual async Task> AddManyAsync(List transactions) { await _repository.InsertManyAsync(transactions).ConfigureAwait(false); return transactions; } }