package com.glxp.mipsdl.dao.basic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.mipsdl.entity.basic.BasicCorpEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BasicCorpDao extends BaseMapper<BasicCorpEntity> {

    /**
     * 查询往来单位名称
     *
     * @param erpId
     * @return
     */
    String selectNameByErpId(@Param("erpId") String erpId);

    BasicCorpEntity selectByErpId(@Param("erpId") String erpId);


}
