package com.yeejoin.amos.boot.module.ugp.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.ugp.api.dto.CompanyDto;
import com.yeejoin.amos.boot.module.ugp.api.entity.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 企业信息表 Mapper 接口
 *
 * @author system_generator
 * @date 2022-09-22
 */
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {
    IPage<CompanyDto> queryCompanyPage(IPage<CompanyDto> page,Company companyParam);

    CompanyDto queryBySeq1(Long sequenceNbr);
    @Select("select * from tz_ugp_company where sequence_nbr= #{sequenceNbr}")
    Company  qById(Long sequenceNbr);
}
