대소문자 구분 없이 검색가능하게 수정

This commit is contained in:
Johngreen
2025-10-28 17:33:27 +09:00
parent 9ff43f0781
commit 3c1a16f43c
2 changed files with 8 additions and 8 deletions

View File

@@ -2954,13 +2954,13 @@
WHERE 1=1
AND PM.PROJECT_NO IS NOT NULL
AND PM.PROJECT_NO != ''
<!-- 품번 검색 -->
<!-- 품번 검색 (대소문자 구분 없음) -->
<if test="search_part_no != null and search_part_no != ''">
AND PM.PART_NO LIKE '%' || #{search_part_no} || '%'
AND UPPER(PM.PART_NO) LIKE '%' || UPPER(#{search_part_no}) || '%'
</if>
<!-- 품명 검색 -->
<!-- 품명 검색 (대소문자 구분 없음) -->
<if test="search_part_name != null and search_part_name != ''">
AND PM.PART_NAME LIKE '%' || #{search_part_name} || '%'
AND UPPER(PM.PART_NAME) LIKE '%' || UPPER(#{search_part_name}) || '%'
</if>
ORDER BY PM.REGDATE DESC
</select>