ITdevMaintenancePlanService.cs 877 B

123456789101112131415161718192021
  1. using Ropin.Inspection.Model;
  2. using Ropin.Inspection.Service.Interface;
  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
  10. {
  11. public interface ITdevMaintenancePlanService : IBaseService<TdevMaintenancePlanViewModel>, IBaseServiceById<TdevMaintenancePlanViewModel, Guid>
  12. {
  13. Task<IEnumerable<TdevMaintenancePlanViewModel>> GetAllAsync();
  14. Task<IEnumerable<TdevMaintenancePlanViewModel>> GetByConditionAsync(Expression<Func<TdevMaintenancePlanViewModel, bool>> expression);
  15. Task UpdateAsync(string code, TdevMaintenancePlanUpdateModel updateModel);
  16. Task<IEnumerable<TdevMaintenancePlanViewModel>> GetConditionAsync(TdevMaintenancePlanSearchModel searchModel);
  17. Task DeleteAsync(string code);
  18. }
  19. }