647556386
3 天以前 bfa52edd6a430978873367426da7b379730da411
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.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.PLS;
using WIDESEA_DTO;
using WIDESEA_IInboundService;
using WIDESEA_Model.Models;
using Microsoft.AspNetCore.Authorization;
 
namespace WIDESEA_WMSServer.Controllers.Inbound
{
    [Route("api/MoInboundOrder")]
    [ApiController]
    public class MoInboundOrderController : ApiBaseController<IMoInboundOrderService, Dt_MoInboundOrder>
    {
        public MoInboundOrderController(IMoInboundOrderService service) : base(service)
        {
        }
 
        /// <summary>
        /// 同步MO票信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("ReceiveMoStatus"),AllowAnonymous]
        public ApiResponseContent ReceiveMoStatus([FromBody] MoInboundOrderDTO model)
        {
            return Service.ReceiveMoStatus(model);
        }
    }
}