刘磊
2025-11-17 efbeb93b3d454f06d65dbcc68ad828cc95bc9404
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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();
            }
        }
    }
}