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 selectChannelWithdrawList(ChannelWithdrawQuery channelWithdraw); /** * 查询所有提现渠道列表 * * @return 提现渠道集合 */ public List 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 selectEnabledList(Long userId); }