package com.junmp.jyzb.mapper;

import com.junmp.jyzb.api.bean.dto.OrderV2Dto;
import com.junmp.jyzb.api.bean.query.OrderV2Req;
import com.junmp.jyzb.entity.JpPurchaseOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【common_jp_pruchase_order】的数据库操作Mapper
 * @createDate 2024-08-05 13:16:24
 * @Entity aaa.domain.JpPruchaseOrder
 */
@Mapper
public interface JpPurchaseOrderMapper extends BaseMapper<JpPurchaseOrder> {

    List<OrderV2Dto> getPage(@Param("req")OrderV2Req req,@Param("pageNo")Long pageNo,@Param("pageSize")Long pageSize);

    int getCount(@Param("req")OrderV2Req req);
}




