EpibolyCertificateMapper.java 722 字节
package com.skua.modules.safe.mapper;

import java.util.List;

import com.skua.modules.safe.entity.EpibolyCertificate;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 外协相关证件
 */
public interface EpibolyCertificateMapper extends BaseMapper<EpibolyCertificate> {

    /***
     * 根据外协单位编号获取外协相关证件的的集合
     * @param companyId
     * @return
     */
    public  List<EpibolyCertificate> queryByCompanyId(@Param("companyId") String companyId);

    /***
     * 根据外协单位编号,删除相关记录
     * @param companyId
     */
    public  void deleteByCompanyId(@Param("companyId") String companyId);
}