package com.youlai.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.Record;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.query.RecordQuery;
import com.youlai.boot.system.model.vo.RecordVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 部署记录Mapper接口
 *
 * @author kangyu
 * @since 2024-10-08 14:14
 */
@Mapper
public interface RecordMapper extends BaseMapper<Record> {

    /**
     * 获取部署记录分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<RecordVO> getRecordPage(Page<RecordVO> page, RecordQuery queryParams);

}
