From e52e9e0c0579fa73463542c32cde48b0a043b4fc Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 5 Feb 2024 19:16:42 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89report=E0=B8=84?= =?UTF-8?q?=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B8=9E=E0=B9=89?= =?UTF-8?q?=E0=B8=99=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/OrderController.cs | 4 +-- .../Requests/CreateCommandGroup14Request.cs | 33 +++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 BMA.EHR.Command.Service/Requests/CreateCommandGroup14Request.cs diff --git a/BMA.EHR.Command.Service/Controllers/OrderController.cs b/BMA.EHR.Command.Service/Controllers/OrderController.cs index ab1fdc1b..c8f66538 100644 --- a/BMA.EHR.Command.Service/Controllers/OrderController.cs +++ b/BMA.EHR.Command.Service/Controllers/OrderController.cs @@ -2390,7 +2390,7 @@ namespace BMA.EHR.Command.Service.Controllers [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status401Unauthorized)] [ProducesResponseType(StatusCodes.Status500InternalServerError)] - public async Task> PostType18Async([FromBody] CreateCommandGroup11Request req) + public async Task> PostType18Async([FromBody] CreateCommandGroup14Request req) { try { @@ -2439,7 +2439,7 @@ namespace BMA.EHR.Command.Service.Controllers [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status401Unauthorized)] [ProducesResponseType(StatusCodes.Status500InternalServerError)] - public async Task> PutType18Async(Guid orderId, [FromBody] CreateCommandGroup11Request req) + public async Task> PutType18Async(Guid orderId, [FromBody] CreateCommandGroup14Request req) { try { diff --git a/BMA.EHR.Command.Service/Requests/CreateCommandGroup14Request.cs b/BMA.EHR.Command.Service/Requests/CreateCommandGroup14Request.cs new file mode 100644 index 00000000..74c8c79a --- /dev/null +++ b/BMA.EHR.Command.Service/Requests/CreateCommandGroup14Request.cs @@ -0,0 +1,33 @@ +namespace BMA.EHR.Command.Service.Requests +{ + public class CreateCommandGroup14Request + { + public Guid orderTypeValue { get; set; } + + public string orderTitle { get; set; } = string.Empty; + + public string orderNo { get; set; } = string.Empty; + + public int orderYear { get; set; } + + public DateTime orderDate { get; set; } + + public Guid orderBy { get; set; } + + public string orderByOrganizationName { get; set; } = string.Empty; + + public string signatoryBy { get; set; } = string.Empty; + + public string signatoryPosition { get; set; } = string.Empty; + + public string fault { get; set; } + + public string guiltyBasis { get; set; } + + public string conclusionFireNo { get; set; } + + public DateTime conclusionFireDate { get; set; } + + public string conclusionFireResolution { get; set; } + } +}