From 4e03494fc567ee6760e4058fbf388ff79536c413 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Sun, 12 May 2024 15:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...mportPlugInsGem.cs => ImportLisResultPlugInsGem.cs} | 4 ++-- ...rfaceInput.cs => ImportPacsResultInterfaceInput.cs} | 2 +- ...InterfaceOut.cs => ImportPacsResultInterfaceOut.cs} | 2 +- ...sultPlugInsGem.cs => ImportPacsResultPlugInsGem.cs} | 10 +++++----- ...InsGemTest.cs => ImportPacsResultPlugInsGemTest.cs} | 8 ++++---- ...ortPlugInsTest.cs => ImportLisResultPlugInsTest.cs} | 4 ++-- ...ltPlugInsTest.cs => ImportPacsResultPlugInsTest.cs} | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) rename ThirdPlugIns/Shentun.Peis.PlugIns.Gem/{LisResultImportPlugInsGem.cs => ImportLisResultPlugInsGem.cs} (75%) rename ThirdPlugIns/Shentun.Peis.PlugIns.Gem/{PacsImportResultInterfaceInput.cs => ImportPacsResultInterfaceInput.cs} (94%) rename ThirdPlugIns/Shentun.Peis.PlugIns.Gem/{PacsImportResultInterfaceOut.cs => ImportPacsResultInterfaceOut.cs} (97%) rename ThirdPlugIns/Shentun.Peis.PlugIns.Gem/{PacsImportResultPlugInsGem.cs => ImportPacsResultPlugInsGem.cs} (94%) rename ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/{PacsImportResultPlugInsGemTest.cs => ImportPacsResultPlugInsGemTest.cs} (82%) rename test/Shentun.Peis.ColumnReference.Tests/{LisResultImportPlugInsTest.cs => ImportLisResultPlugInsTest.cs} (89%) rename test/Shentun.Peis.ColumnReference.Tests/{PacsImportResultPlugInsTest.cs => ImportPacsResultPlugInsTest.cs} (92%) diff --git a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/LisResultImportPlugInsGem.cs b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportLisResultPlugInsGem.cs similarity index 75% rename from ThirdPlugIns/Shentun.Peis.PlugIns.Gem/LisResultImportPlugInsGem.cs rename to ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportLisResultPlugInsGem.cs index 787f21f..0eb87e6 100644 --- a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/LisResultImportPlugInsGem.cs +++ b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportLisResultPlugInsGem.cs @@ -6,9 +6,9 @@ using System.Threading.Tasks; namespace Shentun.Peis.PlugIns.Gem { - public class LisResultImportPlugInsGem : ImportLisResultPlugInsBase + public class ImportLisResultPlugInsGem : ImportLisResultPlugInsBase { - public LisResultImportPlugInsGem(string parmValue) : base(parmValue) + public ImportLisResultPlugInsGem(string parmValue) : base(parmValue) { } public override Task ImportResultAsync(ImportLisResultPlugInsInput input) diff --git a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceInput.cs b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceInput.cs similarity index 94% rename from ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceInput.cs rename to ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceInput.cs index ec0538f..e914038 100644 --- a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceInput.cs +++ b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceInput.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Shentun.Peis.PlugIns.Gem { - public class PacsImportResultInterfaceInput + public class ImportPacsResultInterfaceInput { public string tjNum { get; set; } public string checkupItemId { get; set; } diff --git a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceOut.cs b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceOut.cs similarity index 97% rename from ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceOut.cs rename to ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceOut.cs index f5ab0d9..8ff064e 100644 --- a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultInterfaceOut.cs +++ b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultInterfaceOut.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Shentun.Peis.PlugIns.Gem { - public class PacsImportResultInterfaceOut + public class ImportPacsResultInterfaceOut { public string code { get; set; } public string msg { get; set; } diff --git a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultPlugInsGem.cs b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs similarity index 94% rename from ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultPlugInsGem.cs rename to ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs index 8c25de5..cae597a 100644 --- a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/PacsImportResultPlugInsGem.cs +++ b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs @@ -12,9 +12,9 @@ using Shentun.Peis.ImportLisResults; namespace Shentun.Peis.PlugIns.Gem { - public class PacsImportResultPlugInsGem : ImportPacsResultPlugInsBase + public class ImportPacsResultPlugInsGem : ImportPacsResultPlugInsBase { - public PacsImportResultPlugInsGem(string parmValue) : base(parmValue) + public ImportPacsResultPlugInsGem(string parmValue) : base(parmValue) { } @@ -29,7 +29,7 @@ namespace Shentun.Peis.PlugIns.Gem var beginTime = DateTime.Now.Date.AddDays(-30); foreach (var pacsRequest in pacsRequests) { - var interfaceInpu = new PacsImportResultInterfaceInput() + var interfaceInpu = new ImportPacsResultInterfaceInput() { tjNum = pacsRequest.CheckRequestNo, organizeCode = "1", @@ -39,8 +39,8 @@ namespace Shentun.Peis.PlugIns.Gem pageNo = 1, pageSize = 20 }; - var apiResult = await CallInterfaceServiceAsync(interfaceInpu); + var apiResult = await CallInterfaceServiceAsync(interfaceInpu); if(!apiResult.data.Any()) { continue; diff --git a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/PacsImportResultPlugInsGemTest.cs b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/ImportPacsResultPlugInsGemTest.cs similarity index 82% rename from ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/PacsImportResultPlugInsGemTest.cs rename to ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/ImportPacsResultPlugInsGemTest.cs index bb23e0c..f22187a 100644 --- a/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/PacsImportResultPlugInsGemTest.cs +++ b/ThirdPlugIns/Shentun.Peis.PlugIns.Gem/test/Shentun.Peis.PlugIns.Gem.Test/ImportPacsResultPlugInsGemTest.cs @@ -8,10 +8,10 @@ using Xunit.Abstractions; namespace Shentun.Peis.PlugIns.Gem.Test { - public class PacsImportResultPlugInsGemTest + public class ImportPacsResultPlugInsGemTest { private readonly ITestOutputHelper _output; - public PacsImportResultPlugInsGemTest(ITestOutputHelper testOutputHelper) + public ImportPacsResultPlugInsGemTest(ITestOutputHelper testOutputHelper) { _output = testOutputHelper; @@ -24,7 +24,7 @@ namespace Shentun.Peis.PlugIns.Gem.Test string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; configParm = File.ReadAllText(filePath); - var input = new PacsImportResultPlugInsGem(configParm); + var input = new ImportPacsResultPlugInsGem(configParm); var item = await input.ImportResultAsync( new ImportPacsResultPlugInsInput() { @@ -41,7 +41,7 @@ namespace Shentun.Peis.PlugIns.Gem.Test string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; configParm = File.ReadAllText(filePath); - var input = new PacsImportResultPlugInsGem(configParm); + var input = new ImportPacsResultPlugInsGem(configParm); await input.DoWork(); diff --git a/test/Shentun.Peis.ColumnReference.Tests/LisResultImportPlugInsTest.cs b/test/Shentun.Peis.ColumnReference.Tests/ImportLisResultPlugInsTest.cs similarity index 89% rename from test/Shentun.Peis.ColumnReference.Tests/LisResultImportPlugInsTest.cs rename to test/Shentun.Peis.ColumnReference.Tests/ImportLisResultPlugInsTest.cs index f8df026..bb54e65 100644 --- a/test/Shentun.Peis.ColumnReference.Tests/LisResultImportPlugInsTest.cs +++ b/test/Shentun.Peis.ColumnReference.Tests/ImportLisResultPlugInsTest.cs @@ -8,10 +8,10 @@ using Xunit.Abstractions; namespace Shentun.Peis.PlugIns.Tests { - public class LisResultImportPlugInsTest + public class ImportLisResultPlugInsTest { private readonly ITestOutputHelper _output; - public LisResultImportPlugInsTest(ITestOutputHelper testOutputHelper) + public ImportLisResultPlugInsTest(ITestOutputHelper testOutputHelper) { _output = testOutputHelper; diff --git a/test/Shentun.Peis.ColumnReference.Tests/PacsImportResultPlugInsTest.cs b/test/Shentun.Peis.ColumnReference.Tests/ImportPacsResultPlugInsTest.cs similarity index 92% rename from test/Shentun.Peis.ColumnReference.Tests/PacsImportResultPlugInsTest.cs rename to test/Shentun.Peis.ColumnReference.Tests/ImportPacsResultPlugInsTest.cs index ee98673..388d12c 100644 --- a/test/Shentun.Peis.ColumnReference.Tests/PacsImportResultPlugInsTest.cs +++ b/test/Shentun.Peis.ColumnReference.Tests/ImportPacsResultPlugInsTest.cs @@ -8,10 +8,10 @@ using Xunit.Abstractions; namespace Shentun.Peis.PlugIns.Tests { - public class PacsImportResultPlugInsTest + public class ImportPacsResultPlugInsTest { private readonly ITestOutputHelper _output; - public PacsImportResultPlugInsTest(ITestOutputHelper testOutputHelper) + public ImportPacsResultPlugInsTest(ITestOutputHelper testOutputHelper) { _output = testOutputHelper;