ITispContentService.cs 873 B

12345678910111213141516171819202122
  1. using Ropin.Inspection.Model.SearchModel;
  2. using Ropin.Inspection.Model.ViewModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Linq.Expressions;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Ropin.Inspection.Service.Interface
  10. {
  11. /// <summary>
  12. /// 巡检内容接口
  13. /// </summary>
  14. public interface ITispContentService : IBaseService<TispContentViewModel>, IBaseServiceById<TispContentViewModel, Guid>
  15. {
  16. Task<IEnumerable<TispContentViewModel>> GetAllAsync(string storeCode);
  17. Task<IEnumerable<TispContentViewModel>> GetByConditionAsync(Expression<Func<TispContentViewModel, bool>> expression);
  18. Task UpdateAsync(Guid id, TispContentUpdateViewModel updateModel);
  19. Task<IEnumerable<TispContentViewModel>> GetContentsConditionAsync(TispContentSearchModel searchModel);
  20. }
  21. }