package com.maintain.business.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.maintain.business.domain.ErpMaterialPutawayInfo;
import com.maintain.business.domain.ErpMaterialReturnsInfo;
import com.maintain.business.domain.vo.ErpMaterialPutawayInfoVo;
import com.maintain.business.domain.vo.ErpMaterialReturnsInfoVo;
import com.maintain.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 物料退货明细Mapper接口
 *
 * @author liushuai
 * @date 2025-04-07
 */
public interface ErpMaterialReturnsInfoMapper extends BaseMapperPlus<ErpMaterialReturnsInfoMapper, ErpMaterialReturnsInfo, ErpMaterialReturnsInfoVo> {

    /**
     * 自定义分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    Page<ErpMaterialReturnsInfoVo> customQueryPageList(@Param("page") Page<ErpMaterialReturnsInfo> page, @Param(Constants.WRAPPER) Wrapper<ErpMaterialReturnsInfo> queryWrapper);

    /**
     * 自定义查询
     * @param queryWrapper
     */
    List<ErpMaterialReturnsInfoVo> customQueryList(@Param(Constants.WRAPPER) Wrapper<ErpMaterialReturnsInfo> queryWrapper);


}
