|
@ -278,6 +278,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -297,6 +299,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
@ -328,6 +331,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -347,6 +352,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
@ -378,6 +384,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -397,6 +405,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
@ -426,6 +435,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -445,6 +456,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
@ -475,6 +487,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -494,6 +508,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据检料表信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据检料表信息转换失败:" + ex.ToString()); |
|
@ -523,6 +538,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
WMSSourceDocumentModel model = new WMSSourceDocumentModel(); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<WMSSourceDocumentModel>(JsonData.ToString()); |
|
@ -542,6 +559,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
|
log.Error("获取源头单据信息转换失败:" + ex.ToString()); |
|
@ -572,6 +590,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
@ -582,6 +602,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
res = ICSSubmitService.BarCodeInformationGet(model); |
|
|
res = ICSSubmitService.BarCodeInformationGet(model); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -612,6 +633,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
@ -622,6 +645,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
res = ICSSubmitService.AMBarCodeInformationGet(model); |
|
|
res = ICSSubmitService.AMBarCodeInformationGet(model); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -1855,6 +1879,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<FinishedProductWarehouseEntry> model = new List<FinishedProductWarehouseEntry>(); |
|
|
List<FinishedProductWarehouseEntry> model = new List<FinishedProductWarehouseEntry>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<FinishedProductWarehouseEntry>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<FinishedProductWarehouseEntry>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -1868,6 +1894,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -1898,6 +1925,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -1911,6 +1940,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -1942,6 +1972,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -1955,6 +1987,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -1986,6 +2019,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSPurchaseOrder> model = new List<ICSPurchaseOrder>(); |
|
|
List<ICSPurchaseOrder> model = new List<ICSPurchaseOrder>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSPurchaseOrder>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSPurchaseOrder>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -1999,6 +2034,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2030,6 +2066,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSPurchaseOrder> model = new List<ICSPurchaseOrder>(); |
|
|
List<ICSPurchaseOrder> model = new List<ICSPurchaseOrder>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSPurchaseOrder>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSPurchaseOrder>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2043,6 +2081,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2073,6 +2112,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSSalesOrder> model = new List<ICSSalesOrder>(); |
|
|
List<ICSSalesOrder> model = new List<ICSSalesOrder>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSSalesOrder>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSSalesOrder>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2086,6 +2127,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2117,6 +2159,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSSalesOrder> model = new List<ICSSalesOrder>(); |
|
|
List<ICSSalesOrder> model = new List<ICSSalesOrder>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSSalesOrder>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSSalesOrder>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2130,6 +2174,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2161,6 +2206,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMO> model = new List<ICSMO>(); |
|
|
List<ICSMO> model = new List<ICSMO>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMO>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMO>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2174,6 +2221,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2204,6 +2252,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMO> model = new List<ICSMO>(); |
|
|
List<ICSMO> model = new List<ICSMO>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMO>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMO>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2217,6 +2267,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2246,6 +2297,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2259,6 +2312,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2290,6 +2344,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
List<ICSMOApplyNeg> model = new List<ICSMOApplyNeg>(); |
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
//ICSMOApplyNeg model = new ICSMOApplyNeg();
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSMOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2303,6 +2359,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2426,6 +2483,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2439,6 +2498,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2471,6 +2531,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2483,6 +2545,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
res.Data = resultStr; |
|
|
res.Data = resultStr; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
res.Message = "接口调用失败:请传入参数!";// "接口调用成功!";
|
|
|
res.Message = "接口调用失败:请传入参数!";// "接口调用成功!";
|
|
@ -2520,6 +2583,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2532,6 +2597,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
res.Data = resultStr; |
|
|
res.Data = resultStr; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
res.Message = "接口调用失败:请传入参数!";// "接口调用成功!";
|
|
|
res.Message = "接口调用失败:请传入参数!";// "接口调用成功!";
|
|
@ -2568,6 +2634,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2581,6 +2649,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2614,6 +2683,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2627,6 +2698,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2657,6 +2729,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
List<ICSDeliveryNotice> model = new List<ICSDeliveryNotice>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSDeliveryNotice>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2670,6 +2744,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2703,6 +2778,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
ICSLocation model = new ICSLocation(); |
|
|
ICSLocation model = new ICSLocation(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<ICSLocation>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<ICSLocation>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2726,7 +2803,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
res.Data = resultStr; |
|
|
res.Data = resultStr; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
@ -2759,6 +2836,9 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
ICSLocation model = new ICSLocation(); |
|
|
ICSLocation model = new ICSLocation(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<ICSLocation>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<ICSLocation>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2782,7 +2862,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
res.Data = resultStr; |
|
|
res.Data = resultStr; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
@ -2867,6 +2947,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2880,6 +2962,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2910,6 +2993,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2923,6 +3008,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2953,6 +3039,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -2966,6 +3054,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -2996,6 +3085,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
List<ICSOApplyNeg> model = new List<ICSOApplyNeg>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSOApplyNeg>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3009,6 +3100,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3087,6 +3179,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<ICSUser> model = new List<ICSUser>(); |
|
|
List<ICSUser> model = new List<ICSUser>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<ICSUser>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<ICSUser>>(JsonData.ToString()); |
|
|
var resultStr = ICSSubmitService.OutsourcingIssueDoNegativeApplyApprove(model); |
|
|
var resultStr = ICSSubmitService.OutsourcingIssueDoNegativeApplyApprove(model); |
|
@ -3098,6 +3192,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3321,6 +3416,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<TransferDoc> model = new List<TransferDoc>(); |
|
|
List<TransferDoc> model = new List<TransferDoc>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<TransferDoc>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<TransferDoc>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3334,6 +3431,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3360,6 +3458,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<TransferDoc> model = new List<TransferDoc>(); |
|
|
List<TransferDoc> model = new List<TransferDoc>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<TransferDoc>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<TransferDoc>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3373,6 +3473,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3400,6 +3501,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3414,6 +3517,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3439,6 +3543,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3453,6 +3559,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3530,6 +3637,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
List<TransferApplication> model = new List<TransferApplication>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<TransferApplication>>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3544,6 +3653,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -3569,6 +3679,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
TransferDoc model = new TransferDoc(); |
|
|
TransferDoc model = new TransferDoc(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<TransferDoc>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<TransferDoc>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -3585,6 +3697,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
res.Data = new DataTable(); |
|
|
res.Data = new DataTable(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -4025,6 +4138,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
{ |
|
|
{ |
|
|
ICSMOReceiveUntieModel model = new ICSMOReceiveUntieModel(); |
|
|
ICSMOReceiveUntieModel model = new ICSMOReceiveUntieModel(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<ICSMOReceiveUntieModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<ICSMOReceiveUntieModel>(JsonData.ToString()); |
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
@ -4032,7 +4147,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
var resultStr = ICSSubmitService.ICSContainerConUntie(model); |
|
|
var resultStr = ICSSubmitService.ICSContainerConUntie(model); |
|
|
res.Success = true; |
|
|
res.Success = true; |
|
|
res.Message = LanguageHelper.GetNameSingle("WMSAPI001");// "接口调用成功!";
|
|
|
res.Message = LanguageHelper.GetNameSingle("WMSAPI001");// "接口调用成功!";
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
@ -4061,6 +4176,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
BarCodeModel model = new BarCodeModel(); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<BarCodeModel>(JsonData.ToString()); |
|
@ -4073,6 +4190,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
|
log.Error("转换失败:" + ex.ToString()); |
|
@ -4102,12 +4220,14 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
log.Debug("生成车次条码清单传入参数:" + JsonData); |
|
|
log.Debug("生成车次条码清单传入参数:" + JsonData); |
|
|
List<CartScheduleModel> model = new List<CartScheduleModel>(); |
|
|
List<CartScheduleModel> model = new List<CartScheduleModel>(); |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
|
|
{ |
|
|
|
|
|
lock (key) |
|
|
{ |
|
|
{ |
|
|
model = JsonConvert.DeserializeObject<List<CartScheduleModel>>(JsonData.ToString()); |
|
|
model = JsonConvert.DeserializeObject<List<CartScheduleModel>>(JsonData.ToString()); |
|
|
var resultStr = ICSSubmitService.ICSCartScheduleCreate(model); |
|
|
var resultStr = ICSSubmitService.ICSCartScheduleCreate(model); |
|
|
res.Success = true; |
|
|
res.Success = true; |
|
|
res.Message = resultStr.ToString(); |
|
|
res.Message = resultStr.ToString(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|