EpibolyContractMapper.java 699 字节
package com.skua.modules.safe.mapper;

import java.util.List;

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

/**
 * 外协合同表
 */
public interface EpibolyContractMapper extends BaseMapper<EpibolyContract> {
    /***
     * 根据外协单位编号获取外协合同的的集合
     * @param companyId
     * @return
     */
    public  List<EpibolyContract> queryByCompanyId(@Param("companyId") String companyId);

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