package com.bonus.canteen.core.supply.purchase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.purchase.domain.bo.DrpMaterialLatestPrice;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpMaterialLatestPriceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DrpMaterialLatestPriceMapper extends BaseMapper<DrpMaterialLatestPrice> {
   List<DrpMaterialLatestPriceVO> getPriceListByMaterialIdList(@Param("materialIdList") List<Long> materialIdList, @Param("priceType") Integer priceType, @Param("supplierId") Long supplierId);
}
