| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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
- {
- /// <summary>
- /// 补货模型
- /// </summary>
- [RemoteService]
- [Area("Business")]
- [Route("api/business/replenishment")]
- public class ReplenishmentController : AbpController
- {
- private readonly IReplenishmentAppService _ReplenishmentAppService;
- public ReplenishmentController(IReplenishmentAppService ReplenishmentAppService)
- {
- _ReplenishmentAppService = ReplenishmentAppService;
- }
- ///// <summary>
- ///// 计划工单齐套检查
- ///// </summary>
- ///// <param name="workOrd"></param>
- ///// <returns></returns>
- //[HttpPost]
- //[Route("PlanOrderResourceCheck")]
- //public Task<string> PlanOrderResourceCheck(string companyid)
- //{
- // return _ReplenishmentAppService.PlanOrderResourceCheck(companyid);
- //}
- /// <summary>
- /// 调整ROP和最高库存水位
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- [HttpPost]
- [Route("calcrop")]
- public Task<string> CalcROP(InputDto input)
- {
- return _ReplenishmentAppService.CalcROP(input);
- }
- ///// <summary>
- ///// 更新周计划
- ///// </summary>
- ///// <param name="input"></param>
- ///// <returns></returns>
- //[HttpPost]
- //[Route("weekplan")]
- //public Task<string> WeekPlan(InputDto input)
- //{
- // return _ReplenishmentAppService.WeekPlan(input);
- //}
- }
- }
|