package com.zhgd.xmgl.modules.basicdata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhgd.xmgl.modules.basicdata.entity.Enterprise;
import com.zhgd.xmgl.modules.basicdata.vo.EnterpriseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 企业信息
 * @author： pds
 * @date：   2023-02-15
 * @version： V1.0
 */
@Mapper
public interface EnterpriseMapper extends BaseMapper<Enterprise> {

    EnterpriseVo getDetailById(@Param("enterpriseId") Long enterpriseId);

    List<Enterprise> listByMainType(@Param("mainType") Integer mainType, @Param("governmentSn") String governmentSn);
}
