From 8cf271b0f2b24dd2cbd379d6ce077d2857d0f763 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 28 May 2024 18:19:54 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=BF=BC=EB=A6=AC=20=EC=88=98=EC=A0=95(SUB=5FTYPE=20=EC=BB=AC?= =?UTF-8?q?=EB=9F=BC=20=EC=A1=B0=EA=B1=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/sql/mapper/base/file-mapper.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/resources/sql/mapper/base/file-mapper.xml b/src/main/resources/sql/mapper/base/file-mapper.xml index 1a59c59..b70fb50 100644 --- a/src/main/resources/sql/mapper/base/file-mapper.xml +++ b/src/main/resources/sql/mapper/base/file-mapper.xml @@ -36,17 +36,26 @@ SELECT A.*, FILE_PATH URL FROM TB_FILE A WHERE FILE_ID IN (#{fileID}) - ORDER BY FILE_ID - + ORDER BY FILE_ID + + + + SELECT A.*, FILE_PATH URL FROM TB_FILE A AND A.INF_TYPE = #{infoType} AND INF_KEY IN (#{infoKey}) + +AND ${by} = #{term} + AND USE_YN = 'Y' - + + + +