ProductionScheduleController.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Business.ResourceExamineManagement;
  2. using Microsoft.AspNetCore.Mvc;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Volo.Abp;
  9. using Volo.Abp.AspNetCore.Mvc;
  10. namespace Business.Controllers
  11. {
  12. /// <summary>
  13. /// 生产排产
  14. /// </summary>
  15. [RemoteService]
  16. [Area("Business")]
  17. [Route("api/business/production_schedule")]
  18. public class ProductionScheduleController : AbpController
  19. {
  20. private readonly IProductionScheduleAppService _ProductionScheduleAppService;
  21. /// <summary>
  22. /// 构造函数
  23. /// </summary>
  24. /// <param name="ProductionScheduleAppService"></param>
  25. public ProductionScheduleController(IProductionScheduleAppService ProductionScheduleAppService)
  26. {
  27. _ProductionScheduleAppService = ProductionScheduleAppService;
  28. }
  29. /// <summary>
  30. /// 生产排产
  31. /// </summary>
  32. /// <param name="workOrds"></param>
  33. /// <returns></returns>
  34. [HttpPost]
  35. [Route("productionschedule")]
  36. public Task<string> ProductionSchedule(String workOrds)
  37. {
  38. return _ProductionScheduleAppService.ProductionSchedule(new List<string>());
  39. }
  40. }
  41. }