package com.kxs.product.biz.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.kxs.product.api.dto.kxsapp.ticket.TicketTransferQuery;
import com.kxs.product.api.model.KxsTicketTransfer;
import com.kxs.product.api.vo.kxsapp.ticket.TicketTransferDetailVO;
import com.kxs.product.api.vo.kxsapp.ticket.TicketTransferListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 客小爽券码划拨记录表(KxsTicketTransfer)表数据库访问层
 *
 * @author 系统
 * @since 2023-12-20 10:09:35
 */
@Mapper
public interface KxsTicketTransferMapper extends BaseMapper<KxsTicketTransfer> {

    /**
     * app 分页列表
     *
     * @param page                页
     * @param ticketTransferQuery 票务转移查询
     * @return {@link IPage}<{@link TicketTransferListVO}>
     */
    IPage<TicketTransferListVO> getByPage(Page<TicketTransferListVO> page, @Param("query") TicketTransferQuery ticketTransferQuery);


}

