
package com.netwisd.biz.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.netwisd.biz.demo.entity.Purchase;
import com.netwisd.biz.demo.dto.PurchaseDto;
import com.netwisd.biz.demo.vo.PurchaseVo;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 采购申请单
 * @author incoder@netwisd.com
 * @date 2024-04-30 16:24:48
 */
@Mapper
public interface PurchaseMapper extends BaseMapper<Purchase> {

    /**
     * 分页查询
     * @param page
     * @param purchaseDto
     * @return
     */
    Page<PurchaseVo> getPageList(Page page, @Param("purchaseDto") PurchaseDto purchaseDto);
}
