From e73eab2cd5711b50ef00eb6ba81a08d298298bbe Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Fri, 20 Sep 2024 18:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ImportRegisterCheckPictureByCheckRequestNoInputDto.cs | 5 +++++ src/Shentun.Peis.Application/Devices/DeviceAppService.cs | 2 +- .../PacsBusiness/PacsBusinessAppService.cs | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Shentun.Peis.Application.Contracts/PacsBusiness/ImportRegisterCheckPictureByCheckRequestNoInputDto.cs b/src/Shentun.Peis.Application.Contracts/PacsBusiness/ImportRegisterCheckPictureByCheckRequestNoInputDto.cs index 0a586e8..50b7b4e 100644 --- a/src/Shentun.Peis.Application.Contracts/PacsBusiness/ImportRegisterCheckPictureByCheckRequestNoInputDto.cs +++ b/src/Shentun.Peis.Application.Contracts/PacsBusiness/ImportRegisterCheckPictureByCheckRequestNoInputDto.cs @@ -20,5 +20,10 @@ namespace Shentun.Peis.PacsBusiness /// 图片base64 /// public string PictureBaseStr { get; set; } + + /// + /// 是否打印 + /// + public char IsPrint { get; set } = 'Y'; } } diff --git a/src/Shentun.Peis.Application/Devices/DeviceAppService.cs b/src/Shentun.Peis.Application/Devices/DeviceAppService.cs index 82e6bd9..4a29f47 100644 --- a/src/Shentun.Peis.Application/Devices/DeviceAppService.cs +++ b/src/Shentun.Peis.Application/Devices/DeviceAppService.cs @@ -15,7 +15,7 @@ using Volo.Abp.Domain.Repositories; namespace Shentun.Peis.Devices { /// - /// 危急值 + /// 设备 /// [ApiExplorerSettings(GroupName = "Work")] [Authorize] diff --git a/src/Shentun.Peis.Application/PacsBusiness/PacsBusinessAppService.cs b/src/Shentun.Peis.Application/PacsBusiness/PacsBusinessAppService.cs index e49caa5..e77bfe6 100644 --- a/src/Shentun.Peis.Application/PacsBusiness/PacsBusinessAppService.cs +++ b/src/Shentun.Peis.Application/PacsBusiness/PacsBusinessAppService.cs @@ -147,7 +147,7 @@ namespace Shentun.Peis.PacsBusiness ent = new RegisterCheckPicture { DisplayOrder = maxDisplayOrder + 1, - IsPrint = 'Y', + IsPrint = input.IsPrint, PictureFilename = PictureUrl, RegisterCheckId = registerCheckId, PictureFileType = '0',