ITmtnDevOpsService.cs 1.7 KB

12345678910111213141516171819202122232425262728293031
  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. using Ropin.Inspection.Model.ViewModel;
  10. namespace Ropin.Inspection.Service
  11. {
  12. public interface ITmtnDevOpsService : IBaseService<TmtnDevOpsViewModel>, IBaseServiceById<TmtnDevOpsViewModel, Guid>
  13. {
  14. Task<IEnumerable<TmtnDevOpsViewModel>> GetAllAsync();
  15. Task<IEnumerable<TmtnDevOpsViewModel>> GetByConditionAsync(Expression<Func<TmtnDevOpsViewModel, bool>> expression);
  16. Task UpdateAsync(string code, TmtnDevOpsUpdateModel updateModel);
  17. Task<IEnumerable<TmtnDevOpsViewModel>> GetConditionAsync(TmtnDevOpsSearchModel searchModel);
  18. Task DeleteAsync(string code);
  19. Task CreateDevOpsAsync(TmtnDevOpsViewModel content);
  20. Task<IEnumerable<TmtnDevOpsWithImageViewModel>> GetDevOpsWithImageAsync(TmtnDevOpsOrderSearchModel searchModel);
  21. Task<TispRecord30DaysStatisticsViewModel> GetRecords30DaysStatisticsAsync(string storeCode);
  22. Task<IEnumerable<FullScreenRecordItem>> GetRecords30DaysStatisticsFullScreenAsync(string storeCode);
  23. Task<IEnumerable<DevOpsFullScreenRecord>> GetDevOpsFullScreenByDevIdAsync(DevOpsItemSearchModel searchModel);
  24. Task<IEnumerable<DevOpsFullScreenRecord>> GetDevRepairFullScreenByDevIdAsync(DevOpsItemSearchModel searchModel);
  25. Task<RepairStatistics> GetDevOpsCountFullScreenByDevIdAsync(DevOpsItemSearchModel searchModel);
  26. Task<RepairStatistics> GetDevRepairCountFullScreenByDevIdAsync(DevOpsItemSearchModel searchModel);
  27. Task<IEnumerable<DevOpsFullScreenRecord>> GetISPRecordAsync(DevOpsItemSearchModel searchModel);
  28. }
  29. }