package com.fufan.mtsaas.modules.base.company.dao;

import com.fufan.mtsaas.modules.base.company.model.TCompanyContact;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
  * 企业联系信息表 Mapper 接口
 *
 * @author Liby
 * @since 2022-03-16
 */
@Repository
public interface TCompanyContactDao extends BaseMapper<TCompanyContact> {
    /**
     * 通过公司Id删除数据
     *
     * @return 影响行数
     */
    int deleteByCompanyId(Long companyId);

    TCompanyContact selectOneContact(TCompanyContact tCompanyContact);
}