|
- package com.iformall.service;
-
- import com.github.pagehelper.PageInfo;
- import com.iformall.domain.po.WxAppinfo;
- import com.iformall.domain.po.WxCoupon;
- import com.iformall.domain.po.WxProjectConfig;
- import com.iformall.domain.po.base.TenantEntity;
- import com.iformall.enums.EnumAppPlat;
- import com.iformall.enums.EnumPayWay;
- import com.iformall.enums.EnumProject;
-
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import java.util.List;
-
- public interface WxAppinfoService {
-
- /**
- * WxAppinfo初始化
- * --- 小程序开通后,填写此数据,并设置域名及业务域名等
- * @param tenantId
- * @param payId
- * @param payBillId
- * @param wxProjectConfig
- * @return
- */
- void wxAppinfoInit(String tenantId, Long payId, Long payBillId, WxProjectConfig wxProjectConfig);
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxAppinfo> listAsPage(WxAppinfo record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @return
- */
- List<WxAppinfo> getList(WxAppinfo record);
-
- /**
- * 根据Id获得实体
- *
- * @param id
- * @return
- */
- WxAppinfo getById(Long id);
-
- /**
- * 多个存在获取集团的。
- *
- * @param appId
- * @return
- */
- WxAppinfo getOnlyByAppId(String appId);
- WxAppinfo getByAppId(String appId,String tenantId);
-
- /**
- * 获取c端小程序信息
- * @return
- */
- WxAppinfo getCAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat);
-
- WxAppinfo getBAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat);
-
- WxAppinfo getCouponAppInfo(WxCoupon coupon);
-
- /**
- * 保存或更新实体
- *
- * @param record
- */
- void saveOrUpdate(WxAppinfo record);
-
- /**
- * 根据Id删除实体
- *
- * @param id
- */
- void deleteById(Long id);
-
- WxAppinfo getOnlyByAppIdFromRedis(String appId);
- WxAppinfo getByAppIdFromRedis(String appId,String tenantId);
- WxAppinfo getByIdFromRedis(Long id);
-
- WxAppinfo getCAppInfoFromRedis(String tenantId, EnumAppPlat appPlat);
-
- WxAppinfo getProjectCAppInfo(Integer projectType, Integer plat);
-
- WxAppinfo getProjectCAppInfoFromRedis(Integer projectType, Integer plat);
-
- }
|