package com.bonus.canteen.core.supply.purchase.service.impl;

import com.bonus.canteen.core.supply.purchase.service.DrpGoodsAllocationBusinessService;
import com.bonus.canteen.core.supply.purchase.service.DrpPurchasePlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

@Service
public class DrpGoodsAllocationBusinessServiceImpl implements DrpGoodsAllocationBusinessService {
   @Autowired
   @Lazy
   private DrpPurchasePlanService drpPurchasePlanService;


   public void reduceInventory(String planId) {
      this.drpPurchasePlanService.reduceInventory(planId);
   }
}
