ITmtnPushMsgToService.cs 1.3 KB

123456789101112131415161718192021222324252627
  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 ITmtnPushMsgToService : IBaseService<TmtnPushMsgToViewModel>, IBaseServiceById<TmtnPushMsgToViewModel, Guid>
  12. {
  13. Task<IEnumerable<TmtnPushMsgToViewModel>> GetAllAsync();
  14. Task<IEnumerable<TmtnPushMsgToViewModel>> GetByConditionAsync(Expression<Func<TmtnPushMsgToViewModel, bool>> expression);
  15. Task UpdateAsync(string code, TmtnPushMsgToUpdateModel updateModel);
  16. Task<IEnumerable<TmtnPushMsgToViewModel>> GetConditionAsync(TmtnPushMsgToSearchModel searchModel);
  17. Task DeleteAsync(string code);
  18. Task CreatePushMsgToListAsync(IEnumerable<TmtnPushMsgToViewModel> viewModelList);
  19. Task CreatePushMsgToHaveListAsync(TmtnPushMsgToListCreateModel content);
  20. Task<IEnumerable<TmtnPushMsgToUserViewModel>> GetPushMsgToUsersByAsync(string devStoreCode);
  21. Task<TmtnUserPushMsgToViewModel> GetPushMsgTosByAsync(string devStoreCode, string userCode);
  22. Task<bool> PushAlarmMsgAsync(TpushMsgModel pushModel);
  23. Task<bool> DeleteByDevPersonIdAsync(TmtnPushMsgToListDelete model);
  24. }
  25. }