|  |  | 
 |  |  | using Microsoft.AspNetCore.Http; | 
 |  |  | using Microsoft.AspNetCore.Authorization; | 
 |  |  | using Microsoft.AspNetCore.Http; | 
 |  |  | using Microsoft.AspNetCore.Mvc; | 
 |  |  | using WIDESEA_Core; | 
 |  |  | using WIDESEA_Core.BaseController; | 
 |  |  | 
 |  |  |  | 
 |  |  | namespace WIDESEA_WMSServer.Controllers.Inbound | 
 |  |  | { | 
 |  |  |     /// <summary> | 
 |  |  |     /// æ¶è´§å | 
 |  |  |     /// </summary> | 
 |  |  |     [Route("api/[controller]")] | 
 |  |  |     [ApiController] | 
 |  |  |     public class ReceiveOrderController : ApiBaseController<IReceiveOrderService, Dt_ReceiveOrder> | 
 |  |  | 
 |  |  |         { | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// æ ¹æ®æ¶è´§åå建å
¥åºå | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="receiveOrderId">æ¶è´§åç¼å·</param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         [HttpPost, HttpGet, Route("CreateInboundOrder")] | 
 |  |  |         public WebResponseContent CreateInboundOrder(int receiveOrderId) | 
 |  |  |         { | 
 |  |  |             return Service.CreateInboundOrder(receiveOrderId); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// æ¶è´§å®æåä¼ ERP | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="orderId"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         [HttpPost, HttpGet, Route("FeedbackReceiveOrder")] | 
 |  |  |         public WebResponseContent FeedbackReceiveOrder(int orderId) | 
 |  |  |         { | 
 |  |  |             return Service.FeedbackReceiveOrder(orderId); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// æ¥è¯¢æ¶è´§åä¿¡æ¯ | 
 |  |  |         /// </summary> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         [HttpPost, HttpGet, Route("GetReceiveOrders")] | 
 |  |  |         public WebResponseContent GetReceiveOrders([FromBody] SaveModel saveModel) | 
 |  |  |         { | 
 |  |  |             return Service.GetReceiveOrders(saveModel); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         /// <summary> | 
 |  |  |         /// æ¶è´§ | 
 |  |  |         /// </summary> | 
 |  |  |         /// <param name="purchaseOrderId"></param> | 
 |  |  |         /// <param name="lotNo"></param> | 
 |  |  |         /// <returns></returns> | 
 |  |  |         [HttpPost, HttpGet, Route("ReceiveAllOrder")] | 
 |  |  |         public WebResponseContent ReceiveAllOrder(int purchaseOrderId, string lotNo) | 
 |  |  |         { | 
 |  |  |             return Service.ReceiveAllOrder(purchaseOrderId, lotNo); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | } |