From f63b883389ee56aa827313f28891259842edb580 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 18 Jun 2024 13:23:28 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=EB=B0=94=EC=BD=94=EB=93=9C=20=EC=8A=A4?= =?UTF-8?q?=EC=BA=94=20jsp=ED=99=94=EB=A9=B4=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp index 07ec2cf..9693eef 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/barcode-main.jsp @@ -38,7 +38,7 @@ document.getElementById('result2').value = ''; console.log('change'); submitBarcodeScan(); - }, {passive: true}) + }, {passive: true}); document.querySelector("#btnBarcode").addEventListener('click', function () { console.log('click'); @@ -48,10 +48,10 @@ } document.getElementById('result2').value = ''; submitBarcodeScan(); - }, {passive: true}) - - window.addEventListener('load', function () { + }, {passive: true}); + $(document).ready(function () { + const sec9 = document.querySelector('#divImage'); const uploadBox = sec9.querySelector('#img'); @@ -127,7 +127,7 @@ } }); }); - }, {passive: true}) + }); function submitBarcodeScan(){ From 7e9692b42e30d5d09fb0c0f2a9fb16789e69912e Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 18 Jun 2024 13:23:44 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml index 1096ce3..c35807b 100644 --- a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml +++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml @@ -43,7 +43,7 @@