package com.nuvole.four.service;
|
|
import com.nuvole.four.domain.ActivityShopRecord;
|
import com.nuvole.four.domain.dto.ActivityShopRecordDto;
|
import com.nuvole.four.domain.params.ActivityShopRecordParam;
|
import com.nuvole.four.domain.query.ActivityShopRecordQuery;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @Description 活动补贴—上报商户Service
|
* @Author dqh
|
* @Date 2024-04-13 21:39:14
|
*/
|
public interface ActivityShopRecordService {
|
|
int addSelective(ActivityShopRecord entity);
|
|
int editSelective(ActivityShopRecord entity);
|
|
ActivityShopRecord get(Long id);
|
|
int del(Long id);
|
|
/**
|
* 查询列表
|
*
|
* @param query
|
* @return 查询结果
|
*/
|
List<ActivityShopRecord> getList(ActivityShopRecordQuery query);
|
|
/**
|
* 功能描述 根据店铺id,支付通道 查询活动费率
|
*
|
* @param
|
**/
|
Map getActRateByShopIdAndChannelId(Long shopId, Long channelId);
|
|
/**
|
* 功能描述 当商户使用额度时,更新剩余额度、已使用额度
|
*
|
* @param activityId 费率活动id
|
* @param merchantShopId 商户id
|
* @param useFee 本次使用额度
|
**/
|
int updShopSurplusFee(Long activityId, Long merchantShopId, Long channelId, Integer useFee);
|
|
/**
|
* 方法描述:已上报商户列表
|
*
|
* @date 2024-04-14 20:37
|
**/
|
List<ActivityShopRecordDto> getAlreadyMerchantList(ActivityShopRecordParam param);
|
|
/**
|
* 方法描述:批量添加上报
|
*
|
* @date 2024-04-15 9:45
|
**/
|
Integer batchInsert(List<ActivityShopRecord> recordList);
|
|
/**
|
* 方法描述:根据shopIds查询所有记录
|
*
|
* @date 2024-04-15 11:23
|
**/
|
List<ActivityShopRecord> selectByCondition(String[] idsArr,Long activityId);
|
}
|