TdjContainerAllotQuery

master
nodyang@aliyun.com 1 month ago
parent d77d0767f1
commit a94967fbc5

@ -451,6 +451,7 @@ namespace SlnMesnac.RfidUpload.Business
var jsonObject = new JObject var jsonObject = new JObject
{ {
["opOrgCode"] = appConfig.opOrgCode, ["opOrgCode"] = appConfig.opOrgCode,
["devicedId"] = appConfig.devicedId, ["devicedId"] = appConfig.devicedId,
["shopCode"] = iNIFile.IniReadValue("TdjContainerAllotQuery", "shopCode"), ["shopCode"] = iNIFile.IniReadValue("TdjContainerAllotQuery", "shopCode"),
["ffjhNo"] = ffjhNo, ["ffjhNo"] = ffjhNo,
@ -466,7 +467,7 @@ namespace SlnMesnac.RfidUpload.Business
string jsonString = jsonObject.ToString(); string jsonString = jsonObject.ToString();
var str = webApiClientApp.UploadAsync("containerAllotByCsb", "containerAllotByCsb", jsonString, "容器直连配发-开始配发"); var str = webApiClientApp.UploadAsync("containerAllotByCsb", "TdjContainerAllotQuery", jsonString, "容器直连配发-开始配发");
res = JsonConvert.DeserializeObject<CsbResult>(str); res = JsonConvert.DeserializeObject<CsbResult>(str);
return res; return res;

@ -460,7 +460,7 @@ namespace SlnMesnac.RfidUpload.UI.viewModel
var info = labelItems.ToList(); var info = labelItems.ToList();
var strList = info.Select(x => x.result).ToList(); var strList = info.Select(x => x.result).ToList();
int batchNo = 0; int batchNo = 0;
string opBatch = System.Guid.NewGuid().ToString("N").Substring(0, 20); string opBatch = OpBatchManager.BathNo;
ListPage<string> ls = new ListPage<string>(strList, 500); ListPage<string> ls = new ListPage<string>(strList, 500);
CsbResult res = new CsbResult(); CsbResult res = new CsbResult();
foreach (var enumerable in ls.GetPage()) foreach (var enumerable in ls.GetPage())

Loading…
Cancel
Save