package com.gxwebsoft.apps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.apps.entity.EquipmentOrder;
import com.gxwebsoft.apps.param.EquipmentOrderParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单记录表Mapper
 *
 * @author 科技小王子
 * @since 2023-04-14 21:24:31
 */
public interface EquipmentOrderMapper extends BaseMapper<EquipmentOrder> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<EquipmentOrder>
     */
    List<EquipmentOrder> selectPageRel(@Param("page") IPage<EquipmentOrder> page,
                             @Param("param") EquipmentOrderParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<EquipmentOrder> selectListRel(@Param("param") EquipmentOrderParam param);

}
