using Ropin.Inspection.Model.SearchModel; using Ropin.Inspection.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Service.Interface { /// <summary> /// 巡检内容接口 /// </summary> public interface ITispContentService : IBaseService<TispContentViewModel>, IBaseServiceById<TispContentViewModel, Guid> { Task<IEnumerable<TispContentViewModel>> GetAllAsync(string storeCode); Task<IEnumerable<TispContentViewModel>> GetByConditionAsync(Expression<Func<TispContentViewModel, bool>> expression); Task UpdateAsync(Guid id, TispContentUpdateViewModel updateModel); Task<IEnumerable<TispContentViewModel>> GetContentsConditionAsync(TispContentSearchModel searchModel); } }