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

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.settings.mapper.BizSourceMapper;
import cn.ezhizao.project.business.settings.domain.BizSource;
import cn.ezhizao.project.business.settings.service.IBizSourceService;

/**
 * 来源Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class BizSourceServiceImpl  extends ServiceImpl<BizSourceMapper, BizSource> implements IBizSourceService
{
    @Resource
    private BizSourceMapper bizSourceMapper;

    /**
     * 查询来源列表
     *
     * @param bizSource 来源
     * @return 来源
     */
    @Override
    public List<BizSource> getList(BizSource bizSource)
    {
        return bizSourceMapper.getList(bizSource);
    }

    /**
     * 物理删除
     * @param bizSource
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizSource bizSource){ return bizSourceMapper.physicalDelete(bizSource); };

}
