| | |
| | | private readonly WIDESEA_IBasicService.IErpApiService erpApiService; |
| | | |
| | | private readonly WIDESEA_IBasicService.IInvokeMESService _invokeMESService; |
| | | |
| | | |
| | | private readonly IESSApiService _eSSApiService; |
| | | private readonly ILocationInfoService _locationInfoService; |
| | | private readonly IDailySequenceService _dailySequenceService; |
| | |
| | | //await _eSSApiService.MoveContainerAsync(new WIDESEA_DTO.Basic.MoveContainerRequest |
| | | //{ |
| | | // slotCode = "3-5", |
| | | // containerCode = "A000008002" |
| | | // containerCode = "A000008009" |
| | | //}); |
| | | |
| | | //await erpApiService.GetSuppliersAsync(); |
| | |
| | | [HttpPost, Route("ReceiveInboundOrder"), AllowAnonymous, MethodParamsValidate] |
| | | public async Task<WebResponseContent> ReceiveInboundOrder([FromBody] InboundRequestModel model) |
| | | { |
| | | if(model.inBounds == null || !model.inBounds.Any()) |
| | | { |
| | | return WebResponseContent.Instance.Error("å
¥åºåä¸è½ä¸ºç©º"); |
| | | } |
| | | |
| | | _logger.LogInformation("InboundOrderController ReceiveInboundOrder: " + JsonConvert.SerializeObject(model)); |
| | | List<Dt_InboundOrder> inboundOrders = new List<Dt_InboundOrder>(); |
| | |
| | | |
| | | } |
| | | |
| | | [HttpPost, Route("UnPalletQuantity"), AllowAnonymous, MethodParamsValidate] |
| | | public WebResponseContent UnPalletQuantity(string orderNo) |
| | | { |
| | | return Service.UnPalletQuantity(orderNo); |
| | | } |
| | | |
| | | [HttpPost, Route("BatchOrderFeedbackToMes"), AllowAnonymous] |
| | | public async Task<WebResponseContent> BatchOrderFeedbackToMes([FromBody] BatchOrderFeedbackToMesDto request) |
| | | { |
| | | return await _invokeMESService.BatchOrderFeedbackToMes(request.orderNos, request.inout); |
| | | } |
| | | |
| | | } |
| | | } |