package com.bonus.canteen.core.drp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.drp.model.DrpOverdraftInventory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface DrpOverdraftInventoryMapper extends BaseMapper<DrpOverdraftInventory> {
   void minusInventoryNum(@Param("warehouseInventoryId") Long warehouseInventoryId, @Param("minusNum") BigDecimal minusNum);

   void plusInventoryNum(@Param("warehouseInventoryId") Long warehouseInventoryId, @Param("plusNum") BigDecimal plusNum);
}
