ride-lease/ridelease-system/src/main/java/com/ruoyi/system/service/RlChannelWithdrawService.java
2024-10-21 16:04:16 +08:00

78 lines
1.8 KiB
Java

package com.ruoyi.system.service;
import com.ruoyi.system.domain.channelWithdraw.ChannelWithdraw;
import com.ruoyi.system.domain.channelWithdraw.ChannelWithdrawQuery;
import com.ruoyi.system.domain.channelWithdraw.ChannelWithdrawVO;
import java.util.List;
/**
* 提现渠道Service接口
*
* @author ruoyi
* @date 2024-08-02
*/
public interface RlChannelWithdrawService
{
/**
* 查询提现渠道
*
* @param channelId 提现渠道主键
* @return 提现渠道
*/
public ChannelWithdrawVO selectChannelWithdrawByChannelId(Long channelId);
/**
* 查询提现渠道列表
*
* @param channelWithdraw 提现渠道
* @return 提现渠道集合
*/
public List<ChannelWithdrawVO> selectChannelWithdrawList(ChannelWithdrawQuery channelWithdraw);
/**
* 查询所有提现渠道列表
*
* @return 提现渠道集合
*/
public List<ChannelWithdrawVO> selectAllChannelWithdrawList();
/**
* 新增提现渠道
*
* @param channelWithdraw 提现渠道
* @return 结果
*/
public int insertChannelWithdraw(ChannelWithdraw channelWithdraw);
/**
* 修改提现渠道
*
* @param channelWithdraw 提现渠道
* @return 结果
*/
public int updateChannelWithdraw(ChannelWithdraw channelWithdraw);
/**
* 批量删除提现渠道
*
* @param channelIds 需要删除的提现渠道主键集合
* @return 结果
*/
public int deleteChannelWithdrawByChannelIds(Long[] channelIds);
/**
* 删除提现渠道信息
*
* @param channelId 提现渠道主键
* @return 结果
*/
public int deleteChannelWithdrawByChannelId(Long channelId);
/**
* 查询用户可用的提现渠道
*/
List<ChannelWithdrawVO> selectEnabledList(Long userId);
}