ITpntStoreService.cs 1013 B

1234567891011121314151617181920212223
  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 ITpntStoreService : IBaseService<TpntStoreViewModel>, IBaseServiceById<TpntStoreViewModel, Guid>
  12. {
  13. Task<IEnumerable<TpntStoreViewModel>> GetAllAsync();
  14. Task<IEnumerable<TpntStoreViewModel>> GetByConditionAsync(Expression<Func<TpntStoreViewModel, bool>> expression);
  15. Task UpdateAsync(Guid id, TpntStoreUpdateModel updateModel);
  16. Task<IEnumerable<TpntStoreViewModel>> GetConditionAsync(TpntStoreSearchModel searchModel);
  17. Task<IList<TpntTypeViewModel>> GetAllPntType();
  18. Task CreateStoreByOrgAsync(Guid orgCode, TpntStoreCreateModel viewModel);
  19. Task AllotStoreByOrgAsync(Guid orgCode, Guid storeCode);
  20. Task<TpntStoreViewModel> GetStoreByCodeAsync(string code);
  21. }
  22. }