using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Application.Dtos; using Volo.Abp.Uow; namespace Win.Sfs.Shared.ApplicationBase { /// /// 基础数据通用接口 /// /// /// public interface INormalBaseDataAppService : IUnitOfWorkEnabled { // Task GetFromRepositoryAsync(TKey id); /// /// 获取实体总数 /// /// 实体总数 Task GetTotalCountAsync(); /// /// 获取全部实体列表 /// /// 实体DTO列表 Task> GetAllAsync(); /// /// 按IDs删除实体列表 /// /// IDs /// 是否执行成功 Task DeleteListAsync(List keys); // Task DeleteByFilterAsync(string filter); } }