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.ErpMaterialPickingInfo;
import com.maintain.business.domain.ErpMaterialReturnsInfo;
import com.maintain.business.domain.vo.ErpMaterialPickingInfoVo;
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-03
 */
public interface ErpMaterialPickingInfoMapper extends BaseMapperPlus<ErpMaterialPickingInfoMapper, ErpMaterialPickingInfo, ErpMaterialPickingInfoVo> {


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

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

}
