package cn.ezhizao.project.business.channel.service.impl;

import java.util.List;
import javax.annotation.Resource;

import cn.ezhizao.project.business.channel.domain.BizChannel;
import cn.ezhizao.project.business.channel.mapper.BizChannelMapper;
import cn.ezhizao.project.business.channel.service.IBizChannelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


/**
 * 渠道Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-26
 */
@Service
public class BizChannelServiceImpl  extends ServiceImpl<BizChannelMapper, BizChannel> implements IBizChannelService
{
    @Resource
    private BizChannelMapper bizChannelMapper;

    /**
     * 查询渠道列表
     *
     * @param bizChannel 渠道
     * @return 渠道
     */
    @Override
    public List<BizChannel> getList(BizChannel bizChannel)
    {
        return bizChannelMapper.getList(bizChannel);
    }

    /**
     * 物理删除
     * @param bizChannel
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizChannel bizChannel){ return bizChannelMapper.physicalDelete(bizChannel); };

}
