dengjunjie
4 天以前 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Net;
using WIDESEA_Core;
using WIDESEA_DTO.WCSInfo;
using WIDESEA_ITaskInfoService;
using WIDESEAWCS_DTO.WCSInfo;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/ProductionLine")]
    [AllowAnonymous, ApiController]
    public class ProductionLineController : Controller
    {
        private readonly ITaskService _taskService;
        public ProductionLineController(ITaskService taskService)
        {
            _taskService = taskService;
        }
        /// <summary>
        /// 产线申请入库
        /// </summary>
        /// <param name="lineDTO"></param>
        /// <returns></returns>
        [HttpPost, Route("ProductionlineRequest")]
        public WebResponseContent ProductionlineRequest([FromBody] ProductionlineDTO lineDTO)
        {
            return _taskService.ProductionlineRequest(lineDTO);
        }
    }
}