|
|
@ -23,6 +23,7 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
HttpResponseMessage result = new HttpResponseMessage(); |
|
|
|
Result res = new Result(); |
|
|
|
string str = string.Empty; |
|
|
|
private static object key = new object(); |
|
|
|
/// <summary>
|
|
|
|
/// 多语言
|
|
|
|
/// </summary>
|
|
|
@ -678,7 +679,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
{ |
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
{ |
|
|
|
|
|
|
|
lock (key) |
|
|
|
{ |
|
|
|
List<LOTStockUpCreateIModel> model = new List<LOTStockUpCreateIModel>(); |
|
|
|
model = JsonConvert.DeserializeObject<List<LOTStockUpCreateIModel>>(JsonData.ToString()); |
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
@ -691,6 +693,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
res.Data = resultStr; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
@ -721,7 +725,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
{ |
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
{ |
|
|
|
|
|
|
|
lock (key) |
|
|
|
{ |
|
|
|
List<LOTStockUpCreateIModel> model = new List<LOTStockUpCreateIModel>(); |
|
|
|
model = JsonConvert.DeserializeObject<List<LOTStockUpCreateIModel>>(JsonData.ToString()); |
|
|
|
//WMSBarCoreService action = new WMSBarCoreService();
|
|
|
@ -734,6 +739,9 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
res.Data = resultStr; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
@ -888,6 +896,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
try |
|
|
|
{ |
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
{ |
|
|
|
lock (key) |
|
|
|
{ |
|
|
|
List<LOTStockModel> model = new List<LOTStockModel>(); |
|
|
|
model = JsonConvert.DeserializeObject<List<LOTStockModel>>(JsonData.ToString()); |
|
|
@ -909,6 +919,9 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
res.Data = resultStr; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
@ -938,6 +951,8 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
try |
|
|
|
{ |
|
|
|
if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]") |
|
|
|
{ |
|
|
|
lock (key) |
|
|
|
{ |
|
|
|
List<LOTStockModel> model = new List<LOTStockModel>(); |
|
|
|
model = JsonConvert.DeserializeObject<List<LOTStockModel>>(JsonData.ToString()); |
|
|
@ -959,6 +974,9 @@ namespace ICSSoft.WebAPI.Controllers |
|
|
|
res.Data = resultStr; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|