陈勇
3 天以前 6b74e1dcf5642c8f56975471e27780d695953989
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/removeWorkOrderInfo.cs
@@ -26,7 +26,7 @@
            try
            {
                if (string.IsNullOrEmpty(jsonData.ToString())) throw new Exception("请求参数为空");
                Console.WriteLine(jsonData);
                //Console.WriteLine(jsonData);
                var result = JsonConvert.DeserializeObject<List<removeWorkOrderInfo>>(jsonData.ToString());
                //if (result.plantCode != "1052") throw new Exception("非本工厂工单/订单,无法排撤,请重试");
@@ -51,16 +51,15 @@
                    }
                }
                LogFactory.GetLog("订单/工单排撤").Info(true, $"\r\r--------------------------------------");
                LogFactory.GetLog("订单/工单排撤").Info(true, result.ToJsonString());
                LogFactory.GetLog("工单排撤").Info(true, $"\r\r--------------------------------------");
                LogFactory.GetLog("工单排撤").Info(true, result.ToJsonString());
                return content.OK();
            }
            catch (Exception ex)
            {
                LogFactory.GetLog("订单/工单排撤").Info(true, jsonData.ToJsonString());
                LogFactory.GetLog("工单排撤").Info(true, jsonData.ToJsonString());
                return content.Error($"排撤失败:{ex.Message}");
            }
        }
    }
}