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

import cn.ezhizao.project.business.companyContactor.domain.BizCompanyContactor;
import cn.ezhizao.project.business.companyContactor.mapper.BizCompanyContactorMapper;
import cn.ezhizao.project.business.companyContactor.service.IBizCompanyContactorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

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

/**
 * 客户联系人Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-17
 */
@Service
public class BizCompanyContactorServiceImpl  extends ServiceImpl<BizCompanyContactorMapper, BizCompanyContactor> implements IBizCompanyContactorService
{
    @Resource
    private BizCompanyContactorMapper bizCompanyContactorMapper;

    /**
     * 查询客户联系人列表
     *
     * @param bizCompanyContactor 客户联系人
     * @return 客户联系人
     */
    @Override
    public List<BizCompanyContactor> getList(BizCompanyContactor bizCompanyContactor)
    {
        return bizCompanyContactorMapper.getList(bizCompanyContactor);
    }

    /**
     * 物理删除
     * @param bizCompanyContactor
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizCompanyContactor bizCompanyContactor){ return bizCompanyContactorMapper.physicalDelete(bizCompanyContactor); };

}
