From 7cb913007e6705f43f90efef839d3f0862826448 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 2 Jan 2024 09:03:00 +0900 Subject: [PATCH] =?UTF-8?q?DB=EC=9C=A0=ED=98=95=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=A5=B8=20=EB=8F=99=EC=A0=81=20=EC=A1=B0=ED=9A=8C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/fims/dynamicSearch.xml | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/dynamicSearch.xml b/src/main/resources/sql/mapper/fims/dynamicSearch.xml index c7dd0c95..84f98a49 100644 --- a/src/main/resources/sql/mapper/fims/dynamicSearch.xml +++ b/src/main/resources/sql/mapper/fims/dynamicSearch.xml @@ -9,19 +9,33 @@ - ) LIKE CONCAT('%', + + ) LIKE + CONCAT('%', + '%' || + = - LIKE CONCAT('%', + + LIKE + CONCAT('%', + '%' || + ,1,8) = REPLACE(REPLACE(REPLACE( - , '%') + + , '%') + || '%' + - , '%') + + , '%') + || '%' + ,'-',''),'/',''),'.','')