package com.tofly.feesapi.bmgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tofly.feesapi.bmgl.entity.BmCbpq;
import com.tofly.feesapi.bmgl.entity.dto.BmCbpqFilter;
import com.tofly.feesapi.bmgl.entity.dto.BmCbpqSelect;
import com.tofly.feesapi.common.core.dto.PageDto;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface BmCbpqMapper extends BaseMapper<BmCbpq> {
    //获取最大ID
    BigDecimal selectMaxId();

    PageDto<BmCbpqSelect> getPage(PageDto pageDto, @Param("filter") BmCbpqFilter filter);
}
