package com.openhis.web.nenu.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.openhis.web.nenu.dto.GfRatioApplicationDefinitionSelectDto;
import com.openhis.web.nenu.dto.GfRatioApplicationRecordDto;

/**
 * 公费医疗-比例调整申请记录 Mapper
 *
 * @author Thanking
 * @date 2025-10-27
 */
@Repository
public interface GfRatioApplicationRecordAppMapper {

    /**
     * 查询比例调整申请记录分页
     *
     * @param page 分页参数
     * @param queryWrapper 查询条件
     * @return 比例调整申请记录分页
     */
    IPage<GfRatioApplicationRecordDto> selectGfRatioApplicationRecordPage(
        @Param("page") Page<GfRatioApplicationRecordDto> page,
        @Param(Constants.WRAPPER) QueryWrapper<GfRatioApplicationRecordDto> queryWrapper);

    /**
     * 查询申请项目选择弹窗分页
     *
     * @param itemType 项目分类
     * @param page 分页参数
     * @param queryWrapper 查询条件
     * @return 申请项目选择弹窗分页
     */
    IPage<GfRatioApplicationDefinitionSelectDto> selectGfRatioApplicationDefinitionSelectPage(
        @Param("itemType") Integer itemType, @Param("page") Page<GfRatioApplicationDefinitionSelectDto> page,
        @Param(Constants.WRAPPER) QueryWrapper<GfRatioApplicationDefinitionSelectDto> queryWrapper);

}
