From a94967fbc5b20c254d5375577906f05ebbd7ad17 Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Sun, 15 Dec 2024 16:28:27 +0800 Subject: [PATCH] TdjContainerAllotQuery --- SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs | 3 ++- SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs b/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs index 2857cc4..dcc0258 100644 --- a/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs +++ b/SlnMesnac.RfidUpload.Business/CsbHandleBusiness.cs @@ -451,6 +451,7 @@ namespace SlnMesnac.RfidUpload.Business var jsonObject = new JObject { ["opOrgCode"] = appConfig.opOrgCode, + ["devicedId"] = appConfig.devicedId, ["shopCode"] = iNIFile.IniReadValue("TdjContainerAllotQuery", "shopCode"), ["ffjhNo"] = ffjhNo, @@ -466,7 +467,7 @@ namespace SlnMesnac.RfidUpload.Business string jsonString = jsonObject.ToString(); - var str = webApiClientApp.UploadAsync("containerAllotByCsb", "containerAllotByCsb", jsonString, "容器直连配发-开始配发"); + var str = webApiClientApp.UploadAsync("containerAllotByCsb", "TdjContainerAllotQuery", jsonString, "容器直连配发-开始配发"); res = JsonConvert.DeserializeObject(str); return res; diff --git a/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs b/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs index 7e881a3..c864be7 100644 --- a/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs +++ b/SlnMesnac.RfidUpload.UI/viewModel/MainWindowViewModel.cs @@ -460,7 +460,7 @@ namespace SlnMesnac.RfidUpload.UI.viewModel var info = labelItems.ToList(); var strList = info.Select(x => x.result).ToList(); int batchNo = 0; - string opBatch = System.Guid.NewGuid().ToString("N").Substring(0, 20); + string opBatch = OpBatchManager.BathNo; ListPage ls = new ListPage(strList, 500); CsbResult res = new CsbResult(); foreach (var enumerable in ls.GetPage())