ITmtnPushMsgToRepository.cs 893 B

1234567891011121314151617181920
  1. using Ropin.Inspection.Model;
  2. using Ropin.Inspection.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Ropin.Inspection.Repository
  9. {
  10. public interface ITmtnPushMsgToRepository : IRepositoryBase<TMTN_PushMsgTo>, IRepositoryBaseById<TMTN_PushMsgTo, string>
  11. {
  12. Task<IEnumerable<TSYS_User>> GetPushMsgUserByAsync(string devStoreCode, string msgTypeCode);
  13. Task<int> DeleteByDevPersonIdAsync(string devId, string personId);
  14. Task<int> DeleteByDevPersonIdMultipleAsync(string devId, string personStr);
  15. Task<IEnumerable<TmtnPushMsgToUserViewModel>> GetPushMsgToUsersByAsync(string devStoreCode);
  16. Task<TmtnUserPushMsgToViewModel> GetPushMsgTosByAsync(string devStoreCode, string userCode);
  17. Task<bool> PushAlarmMsgAsync(TpushMsgModel pushModel);
  18. }
  19. }