| | |
| | | using static HH.WCS.Mobox3.pinggao.models.DAPING; |
| | | using HH.WCS.Mobox3.pinggao.util; |
| | | using SqlSugar; |
| | | using System.Diagnostics; |
| | | |
| | | namespace HH.WCS.Mobox3.pinggao.api |
| | | { |
| | |
| | | [HttpPost] |
| | | public LLDReturnRoot.Root LLDReceiveXmlData([FromBody] CKDdto.Root xmlData) |
| | | { |
| | | Stopwatch sw = new Stopwatch(); |
| | | sw.Start(); |
| | | #region xml数据接收转数组 |
| | | LogHelper.Info("生产订单领料单(生成领料单)接口:" + JsonConvert.SerializeObject(xmlData)); |
| | | |
| | |
| | | |
| | | #region 出库业务流程 |
| | | LLDReturnRoot.Root json = WmsSpaHelper.Out_Order_Ins(xmlData); |
| | | |
| | | |
| | | //接收返回参数 生成sap对接文档返回格式 |
| | | //var json = WmsSpaHelper.GetJsonResult(simpleResult.WLPZBH, simpleResult.resultCode.ToString(), simpleResult.resultMsg); |
| | | //接收返回参数 生成sap对接文档返回格式 |
| | | List<WcReturnRoot.ITEM> wcReturnRoots = new List<WcReturnRoot.ITEM>(); |
| | | |
| | | sw.Stop(); |
| | | long elapsedMilliseconds = sw.ElapsedMilliseconds; |
| | | return json; |
| | | #endregion |
| | | //#region 返回xml |