package com.trade.service.trade.purchasecontract.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.trade.service.trade.purchasecontract.domain.PurchaseCommodity;
import com.trade.service.trade.purchasecontract.dto.PurchaseCommodityDto;

import java.util.List;

/**
 * 采购商品表数据库访问
 *
 * @author hlb
 * @since 2024-09-07 16:23:02
 */
public interface PurchaseCommodityMapper extends BaseMapper<PurchaseCommodity> {
    /**
     * 根据采购合同ID获取采购商品列表
     * @param contractId
     * @return
     */
    List<PurchaseCommodityDto> getPurchaseCommodityByContractId(Long contractId);
}
