조회수정

This commit is contained in:
khj0414 2025-02-27 16:17:21 +09:00
parent f119c4724a
commit 772efb8d96

View File

@ -4,8 +4,10 @@
<sql id="searchConditions"> <sql id="searchConditions">
<!-- 검색어 조건 --> <!-- 검색어 조건 -->
<if test="searchKeyword != null and searchKeyword != ''"> <if test="searchKeyword != null and searchKeyword != ''">
and (w.WRDDICTTL like CONCAT('%', #{searchKeyword}, '%') and (
or w.WRDDICCON like CONCAT('%', #{searchKeyword}, '%')) REGEXP_REPLACE(w.WRDDICTTL, '\\[\\{.*?"insert":"', '') LIKE CONCAT('%', #{searchKeyword}, '%')
OR REGEXP_REPLACE(w.WRDDICCON, '\\[\\{.*?"insert":"', '') LIKE CONCAT('%', #{searchKeyword}, '%')
)
</if> </if>
<!-- 색인표 조건 --> <!-- 색인표 조건 -->
<if test="indexKeyword != null and indexKeyword != ''"> <if test="indexKeyword != null and indexKeyword != ''">