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

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonus.canteen.core.supply.purchase.domain.bo.DrpIntoDetail;
import com.bonus.canteen.core.supply.purchase.domain.bo.MaterialIntoDetailModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface DrpIntoDetailMapper extends BaseMapper<DrpIntoDetail> {
   MaterialIntoDetailModel selectLastIntoDetail(@Param("materialId") Long materialId, @Param("warehouseId") Long warehouseId, @Param("status") Integer status);
}
