|
|
|
@@ -1,65 +0,0 @@ |
|
|
|
package com.iformall.service; |
|
|
|
|
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.domain.po.WxMerchant; |
|
|
|
import com.iformall.domain.po.WxProfitSharingReceiver; |
|
|
|
import com.iformall.domain.po.base.TenantEntity; |
|
|
|
import com.iformall.enums.EnumAppPlat; |
|
|
|
import com.iformall.enums.EnumPayWay; |
|
|
|
import com.iformall.enums.EnumProfitSharingType; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
public interface WxProfitSharingReceiverService { |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据实体查询分页列表 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
PageInfo<WxProfitSharingReceiver> listAsPage(WxProfitSharingReceiver record, Integer pageIndex, Integer pageSize); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据Id获得实体 |
|
|
|
* |
|
|
|
* @param id |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
WxProfitSharingReceiver getById(Long id); |
|
|
|
|
|
|
|
/** |
|
|
|
* 保存或更新实体 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
*/ |
|
|
|
void saveOrUpdate(WxProfitSharingReceiver record); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据Id删除实体 |
|
|
|
* |
|
|
|
* @param id |
|
|
|
*/ |
|
|
|
void deleteById(Long id); |
|
|
|
|
|
|
|
WxProfitSharingReceiver findReceiver(TenantEntity tenantEntity,Long merchantId, EnumAppPlat plat,EnumProfitSharingType sharingType); |
|
|
|
List<WxProfitSharingReceiver> findReceivers(TenantEntity tenantEntity,Long merchantId); |
|
|
|
|
|
|
|
ResultData addReceiver(WxMerchant merchant, WxProfitSharingReceiver receiver, List<WxProfitSharingReceiver> delList); |
|
|
|
|
|
|
|
ResultData delReceiver(WxProfitSharingReceiver receiver, Integer send); |
|
|
|
|
|
|
|
ResultData updateReceiver(WxMerchant merchant, WxProfitSharingReceiver receiver); |
|
|
|
|
|
|
|
void sendMsg(String phone, String account, String merchant, String time, Integer modelType, TenantEntity tenantEntity); |
|
|
|
|
|
|
|
ResultData updateTtReceiver(WxMerchant merchant); |
|
|
|
|
|
|
|
ResultData getTtReceiverImprotURL(WxMerchant merchant); |
|
|
|
|
|
|
|
ResultData getTtReceiverBalanceURL(WxMerchant merchant); |
|
|
|
|
|
|
|
ResultData updateTtReceiverIsUse(WxMerchant merchant); |
|
|
|
|
|
|
|
} |