package com.ruoyi.sales.mapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.ruoyi.common.config.MyBaseMapper;
|
import com.ruoyi.sales.dto.SalesLedgerProductDto;
|
import com.ruoyi.sales.pojo.SalesLedgerProduct;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 产品信息Mapper接口
|
*
|
* @author ruoyi
|
* @date 2025-05-08
|
*/
|
public interface SalesLedgerProductMapper extends MyBaseMapper<SalesLedgerProduct> {
|
List<SalesLedgerProduct> selectSalesLedgerProductList(@Param("salesLedgerProduct") SalesLedgerProduct salesLedgerProduct);
|
|
SalesLedgerProduct selectSalesLedgerProductByMainId(@Param("productMainId") Long productMainId);
|
|
IPage<SalesLedgerProductDto> listPage(Page page, @Param("req") SalesLedgerProductDto salesLedgerProduct);
|
|
IPage<SalesLedgerProductDto> listPagePurchaseLedger(Page page,@Param("req") SalesLedgerProductDto salesLedgerProduct);
|
}
|