GroupRelationFrontService.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. package com.cyksj.service.relation;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.cyksj.model.entity.GoodsDonSku;
  4. import com.cyksj.model.entity.GroupsRelation;
  5. import com.cyksj.model.entity.NetflixUserAccountStatusRecord;
  6. import com.cyksj.model.manage.views.AccountView;
  7. import com.cyksj.model.request.ErrorNetflixChangeReq;
  8. import com.cyksj.model.request.SpecialGoodsTicketReq;
  9. import com.cyksj.model.request.TicketLoginReq;
  10. import com.cyksj.model.views.GoodsCategorySkuView;
  11. import com.cyksj.model.views.RenewalView;
  12. import com.cyksj.model.views.UserRecommendGoodsFrontView;
  13. import com.ejlchina.searcher.SearchResult;
  14. import java.util.List;
  15. /*
  16. *项目名: netflix
  17. *文件名: GroupRelationFrontService
  18. *创建者: JavaZou
  19. *创建时间:2022/12/29 15:42
  20. */
  21. public interface GroupRelationFrontService {
  22. SearchResult<RenewalView> getMyTicket(long userId, Boolean isLoginPopularize, String customId, String account, String orderNo, Integer cmt);
  23. Boolean isJoinCorpWx(Long userId, Boolean isJoin, Boolean noCoupon);
  24. GroupsRelation getSimilarExpiredGroupRelation(GoodsDonSku sku, List<Long> errorsRelationIds, String ip);
  25. Page<UserRecommendGoodsFrontView> getRecommendGoodsViews(Boolean isPayNf, List<Long> filter_goods_id, Boolean filterCourseGoods, Integer start, Integer limit);
  26. /**
  27. * 通过邮件发送课程
  28. */
  29. void sendCourseWare(SpecialGoodsTicketReq request) throws Exception;
  30. /**
  31. * 获取车票座位
  32. */
  33. GroupsRelation getRelation(Long payRelationId, Long userId, GoodsDonSku sku, String ip);
  34. /**
  35. * 获取车票账号登录 验证码
  36. */
  37. String getAiVerifyCode(TicketLoginReq loginReq) throws Exception;
  38. void checkGroupsAvailParkingNum(Long skuId, Long groupsId, Integer availableParkingNum, Integer maxNum);
  39. /**
  40. * 调整指定规格车队下次可 停用车位数的时间
  41. */
  42. void adjustGroupsParkingTime(Long relationId, GoodsDonSku sku);
  43. void setGroupsTripsParkingTimeEmpty(GoodsDonSku sku, Long relationId);
  44. Integer getUserCodeNumBySkuId(Long userId, Long skuId, Boolean isHasVerifyCode);
  45. List<RenewalView> getHasPayGoods(long userId);
  46. List<RenewalView> getExpiryRenewalNotify(Long userId);
  47. void getCollegeStudentUserGptTicket(Long userId);
  48. RenewalView getTicketDetail(long userId, Long relationId);
  49. GroupsRelation ticketLogin(TicketLoginReq loginReq);
  50. String outsideTicketVerify(TicketLoginReq loginReq);
  51. String getNfHouseholdDevice(long userId, Long relationId) throws Exception;
  52. String getVerifyCode(String account) throws Exception;
  53. void changeTicket(long userId, Long relationId);
  54. AccountView getTempAccount(long userId, Long relationId);
  55. void nfErrorAccountSubmit(long userId, Long relationId);
  56. Integer getNetflixErrorAccountStatus(long userId, Long relationId);
  57. List<NetflixUserAccountStatusRecord> getUserNetflixSubmitRecord(long userId);
  58. /**
  59. * 获取试用车票
  60. *
  61. * @param userId
  62. * @param trialSkuId
  63. * @return
  64. */
  65. Long getTrialTicketByUserIdAndGoodsId(Long userId, Long trialSkuId, Integer ticketType);
  66. Boolean getMirrorPopups(long userId);
  67. /**
  68. * 用户获取车票
  69. */
  70. Long getTicket(Long userId, Long skuId, Boolean isVip);
  71. Boolean getVipMirrorTicketIfEmpty(long userId, Long skuId);
  72. void netflixSubmitRecover(ErrorNetflixChangeReq req);
  73. void errorNetflixSubmitChangeOtherTicket(ErrorNetflixChangeReq req) throws Exception;
  74. List<GoodsCategorySkuView> getNetflixReplaceOtherSkus(long userId, Long relationId) throws Exception;
  75. }