using Business.Domain; using Business.Dto; using Business.ReplenishmentManagement; using Business.ResourceExamineManagement; using Business.ResourceExamineManagement.Dto; using Microsoft.AspNetCore.Mvc; using MongoDB.Bson.IO; using Newtonsoft.Json; using Org.BouncyCastle.Asn1.Ocsp; using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp; using Volo.Abp.AspNetCore.Mvc; namespace Business.Controllers { /// /// 补货模型 /// [RemoteService] [Area("Business")] [Route("api/business/replenishment")] public class ReplenishmentController : AbpController { private readonly IReplenishmentAppService _ReplenishmentAppService; public ReplenishmentController(IReplenishmentAppService ReplenishmentAppService) { _ReplenishmentAppService = ReplenishmentAppService; } ///// ///// 计划工单齐套检查 ///// ///// ///// //[HttpPost] //[Route("PlanOrderResourceCheck")] //public Task PlanOrderResourceCheck(string companyid) //{ // return _ReplenishmentAppService.PlanOrderResourceCheck(companyid); //} /// /// 调整ROP和最高库存水位 /// /// /// [HttpPost] [Route("calcrop")] public Task CalcROP(InputDto input) { return _ReplenishmentAppService.CalcROP(input); } ///// ///// 更新周计划 ///// ///// ///// //[HttpPost] //[Route("weekplan")] //public Task WeekPlan(InputDto input) //{ // return _ReplenishmentAppService.WeekPlan(input); //} } }