ITmtnDevOpsService.cs 1.8 KB

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