后台服务
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

99 wiersze
2.4 KiB

  1. package com.iformall.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.iformall.domain.po.WxAppinfo;
  4. import com.iformall.domain.po.WxCoupon;
  5. import com.iformall.domain.po.WxProjectConfig;
  6. import com.iformall.domain.po.base.TenantEntity;
  7. import com.iformall.enums.EnumAppPlat;
  8. import com.iformall.enums.EnumPayWay;
  9. import com.iformall.enums.EnumProject;
  10. import javax.servlet.http.HttpServletRequest;
  11. import javax.servlet.http.HttpServletResponse;
  12. import java.util.List;
  13. public interface WxAppinfoService {
  14. /**
  15. * WxAppinfo初始化
  16. * --- 小程序开通后,填写此数据,并设置域名及业务域名等
  17. * @param tenantId
  18. * @param payId
  19. * @param payBillId
  20. * @param wxProjectConfig
  21. * @return
  22. */
  23. void wxAppinfoInit(String tenantId, Long payId, Long payBillId, WxProjectConfig wxProjectConfig);
  24. /**
  25. * 根据实体查询分页列表
  26. *
  27. * @param record
  28. * @param pageIndex
  29. * @param pageSize
  30. * @return
  31. */
  32. PageInfo<WxAppinfo> listAsPage(WxAppinfo record, Integer pageIndex, Integer pageSize);
  33. /**
  34. * 根据实体查询分页列表
  35. *
  36. * @param record
  37. * @return
  38. */
  39. List<WxAppinfo> getList(WxAppinfo record);
  40. /**
  41. * 根据Id获得实体
  42. *
  43. * @param id
  44. * @return
  45. */
  46. WxAppinfo getById(Long id);
  47. /**
  48. * 多个存在获取集团的。
  49. *
  50. * @param appId
  51. * @return
  52. */
  53. WxAppinfo getOnlyByAppId(String appId);
  54. WxAppinfo getByAppId(String appId,String tenantId);
  55. /**
  56. * 获取c端小程序信息
  57. * @return
  58. */
  59. WxAppinfo getCAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat);
  60. WxAppinfo getBAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat);
  61. WxAppinfo getCouponAppInfo(WxCoupon coupon);
  62. /**
  63. * 保存或更新实体
  64. *
  65. * @param record
  66. */
  67. void saveOrUpdate(WxAppinfo record);
  68. /**
  69. * 根据Id删除实体
  70. *
  71. * @param id
  72. */
  73. void deleteById(Long id);
  74. WxAppinfo getOnlyByAppIdFromRedis(String appId);
  75. WxAppinfo getByAppIdFromRedis(String appId,String tenantId);
  76. WxAppinfo getByIdFromRedis(Long id);
  77. WxAppinfo getCAppInfoFromRedis(String tenantId, EnumAppPlat appPlat);
  78. WxAppinfo getProjectCAppInfo(Integer projectType, Integer plat);
  79. WxAppinfo getProjectCAppInfoFromRedis(Integer projectType, Integer plat);
  80. }