using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Service.Interface { public interface IBaseServiceById { // 根据指定的实体Id获取实体 Task GetByIdAsync(TId id); // 检查具有指定Id的实体是否存在 Task IsExistAsync(TId id); Task DeleteAsync(TId id); } }