다량의 테스트 전 커밋

This commit is contained in:
leeheejin
2025-12-16 15:10:19 +09:00
parent 140d87bb82
commit c19b3b5738
2 changed files with 24 additions and 26 deletions

View File

@@ -1319,13 +1319,13 @@
<if test="search_work_order_no != null and search_work_order_no != ''">
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
</if>
<!-- 부품품번 검색 -->
<!-- 부품품번 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
<if test="search_part_no != null and search_part_no != ''">
AND SPI.PART_NO = #{search_part_no}
AND UPPER(SPI.PART_NO) LIKE UPPER('%' || #{search_part_no} || '%')
</if>
<!-- 부품명 검색 -->
<!-- 부품명 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
<if test="search_part_name != null and search_part_name != ''">
AND SPI.PART_NAME = #{search_part_name}
AND UPPER(SPI.PART_NAME) LIKE UPPER('%' || #{search_part_name} || '%')
</if>
<!-- 검사일 검색 -->
<if test="search_inspection_date != null and search_inspection_date != ''">
@@ -1378,13 +1378,13 @@
<if test="search_work_order_no != null and search_work_order_no != ''">
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
</if>
<!-- 부품품번 검색 -->
<!-- 부품품번 검색 (LIKE 검색) -->
<if test="search_part_no != null and search_part_no != ''">
AND SPI.PART_NO = #{search_part_no}
AND UPPER(SPI.PART_NO) LIKE UPPER('%' || #{search_part_no} || '%')
</if>
<!-- 부품명 검색 -->
<!-- 부품명 검색 (LIKE 검색) -->
<if test="search_part_name != null and search_part_name != ''">
AND SPI.PART_NAME = #{search_part_name}
AND UPPER(SPI.PART_NAME) LIKE UPPER('%' || #{search_part_name} || '%')
</if>
<!-- 검사일 검색 -->
<if test="search_inspection_date != null and search_inspection_date != ''">
@@ -1399,11 +1399,10 @@
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
SELECT DISTINCT CODE_NAME(PM.PRODUCT) AS CODE
, CODE_NAME(PM.PRODUCT) AS NAME
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION SPI
INNER JOIN PROJECT_MGMT PM ON PM.PROJECT_NO = SPI.PROJECT_NO
WHERE CODE_NAME(PM.PRODUCT) IS NOT NULL AND CODE_NAME(PM.PRODUCT) != ''
SELECT DISTINCT MODEL_NAME AS CODE
, MODEL_NAME AS NAME
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION
WHERE MODEL_NAME IS NOT NULL AND MODEL_NAME != ''
ORDER BY CODE
</select>

View File

@@ -1319,13 +1319,13 @@
<if test="search_work_order_no != null and search_work_order_no != ''">
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
</if>
<!-- 부품품번 검색 -->
<!-- 부품품번 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
<if test="search_part_no != null and search_part_no != ''">
AND SPI.PART_NO = #{search_part_no}
AND UPPER(SPI.PART_NO) LIKE UPPER('%' || #{search_part_no} || '%')
</if>
<!-- 부품명 검색 -->
<!-- 부품명 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
<if test="search_part_name != null and search_part_name != ''">
AND SPI.PART_NAME = #{search_part_name}
AND UPPER(SPI.PART_NAME) LIKE UPPER('%' || #{search_part_name} || '%')
</if>
<!-- 검사일 검색 -->
<if test="search_inspection_date != null and search_inspection_date != ''">
@@ -1378,13 +1378,13 @@
<if test="search_work_order_no != null and search_work_order_no != ''">
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
</if>
<!-- 부품품번 검색 -->
<!-- 부품품번 검색 (LIKE 검색) -->
<if test="search_part_no != null and search_part_no != ''">
AND SPI.PART_NO = #{search_part_no}
AND UPPER(SPI.PART_NO) LIKE UPPER('%' || #{search_part_no} || '%')
</if>
<!-- 부품명 검색 -->
<!-- 부품명 검색 (LIKE 검색) -->
<if test="search_part_name != null and search_part_name != ''">
AND SPI.PART_NAME = #{search_part_name}
AND UPPER(SPI.PART_NAME) LIKE UPPER('%' || #{search_part_name} || '%')
</if>
<!-- 검사일 검색 -->
<if test="search_inspection_date != null and search_inspection_date != ''">
@@ -1399,11 +1399,10 @@
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
SELECT DISTINCT CODE_NAME(PM.PRODUCT) AS CODE
, CODE_NAME(PM.PRODUCT) AS NAME
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION SPI
INNER JOIN PROJECT_MGMT PM ON PM.PROJECT_NO = SPI.PROJECT_NO
WHERE CODE_NAME(PM.PRODUCT) IS NOT NULL AND CODE_NAME(PM.PRODUCT) != ''
SELECT DISTINCT MODEL_NAME AS CODE
, MODEL_NAME AS NAME
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION
WHERE MODEL_NAME IS NOT NULL AND MODEL_NAME != ''
ORDER BY CODE
</select>