From 645153113c6e2430585b193d2bf3f7195844aeaf Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 7 May 2025 14:33:07 +0200 Subject: [PATCH] Update SQL parameters in DocumentCreateReadSQL class Modified the parameters for the stored procedure `[dbo].[PRSIG_API_ADD_DOC]` in the `DocumentCreateReadSQL` class. Replaced `@BYTE_DATA` with `@BYTE_DATA1`, repositioned `@ENV_UID`, and ensured `@OUT_DOCID` is explicitly marked as an output parameter. --- EnvelopeGenerator.Application/SQL/DocumentCreateReadSQL.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EnvelopeGenerator.Application/SQL/DocumentCreateReadSQL.cs b/EnvelopeGenerator.Application/SQL/DocumentCreateReadSQL.cs index b243b0ba..7fec8262 100644 --- a/EnvelopeGenerator.Application/SQL/DocumentCreateReadSQL.cs +++ b/EnvelopeGenerator.Application/SQL/DocumentCreateReadSQL.cs @@ -18,9 +18,9 @@ public class DocumentCreateReadSQL : ISQL DECLARE @OUT_DOCID int EXEC [dbo].[PRSIG_API_ADD_DOC] - @ENV_UID = {1}, - @BYTE_DATA = @BYTE_DATA1, - @OUT_DOCID = @OUT_DOCID OUTPUT + {1}, + @BYTE_DATA1, + @OUT_DOCID OUTPUT SELECT TOP(1) * FROM [dbo].[TBSIG_ENVELOPE_DOCUMENT]