package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.Company;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.po.CompanyPO;
import com.jwipc.sys.model.query.CompanyQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 公司主数据 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-29
 */
public interface CompanyMapper extends BaseMapper<Company> {

    List<CompanyPO> findPageByQuery(Page<Company> dbPage,@Param("query") CompanyQuery query);

    List<CompanyPO> findPageByQuery(@Param("query") CompanyQuery query);
}
