package com.sqx.modules.errand.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.errand.entity.TransferRecordEntity;
import com.sqx.modules.errand.vo.TransferRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author www.javacoder.top
 * @since 2022-11-04
 */
@Mapper
public interface TransferRecordDao extends BaseMapper<TransferRecordEntity> {

    IPage<TransferRecordVo> queryTransferRecordPages(@Param("pages") Page<TransferRecordVo> pages, Integer orderId);

    List<TransferRecordVo> queryTransferRecordPages( Integer orderId);
}
