using Newtonsoft.Json;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Common.MES;
|
using WIDESEA_Core;
|
|
namespace WIDESEA_StoragIntegrationServices
|
{
|
/// <summary>
|
/// MES同步订单特征至BDC
|
/// </summary>
|
public partial class MESService
|
{
|
public WebResponseContent syncOrderFeature(object json)
|
{
|
WebResponseContent content = new WebResponseContent();
|
try
|
{
|
|
if (string.IsNullOrEmpty(json.ToString())) throw new Exception("请求参数为空");
|
|
var result = JsonConvert.DeserializeObject<SyncOrderFeatureInfo>(json.ToString());
|
|
//todo 修改对应数据
|
|
return content;
|
}
|
catch (Exception ex)
|
{
|
return content.Error();
|
}
|
}
|
}
|
}
|