다량의 테스트 전 커밋
This commit is contained in:
@@ -1319,13 +1319,13 @@
|
|||||||
<if test="search_work_order_no != null and search_work_order_no != ''">
|
<if test="search_work_order_no != null and search_work_order_no != ''">
|
||||||
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 부품품번 검색 -->
|
<!-- 부품품번 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
|
||||||
<if test="search_part_no != null and search_part_no != ''">
|
<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>
|
</if>
|
||||||
<!-- 부품명 검색 -->
|
<!-- 부품명 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
|
||||||
<if test="search_part_name != null and search_part_name != ''">
|
<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>
|
||||||
<!-- 검사일 검색 -->
|
<!-- 검사일 검색 -->
|
||||||
<if test="search_inspection_date != null and search_inspection_date != ''">
|
<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 != ''">
|
<if test="search_work_order_no != null and search_work_order_no != ''">
|
||||||
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 부품품번 검색 -->
|
<!-- 부품품번 검색 (LIKE 검색) -->
|
||||||
<if test="search_part_no != null and search_part_no != ''">
|
<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>
|
</if>
|
||||||
<!-- 부품명 검색 -->
|
<!-- 부품명 검색 (LIKE 검색) -->
|
||||||
<if test="search_part_name != null and search_part_name != ''">
|
<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>
|
||||||
<!-- 검사일 검색 -->
|
<!-- 검사일 검색 -->
|
||||||
<if test="search_inspection_date != null and search_inspection_date != ''">
|
<if test="search_inspection_date != null and search_inspection_date != ''">
|
||||||
@@ -1399,11 +1399,10 @@
|
|||||||
|
|
||||||
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
|
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
|
||||||
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
|
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
|
||||||
SELECT DISTINCT CODE_NAME(PM.PRODUCT) AS CODE
|
SELECT DISTINCT MODEL_NAME AS CODE
|
||||||
, CODE_NAME(PM.PRODUCT) AS NAME
|
, MODEL_NAME AS NAME
|
||||||
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION SPI
|
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION
|
||||||
INNER JOIN PROJECT_MGMT PM ON PM.PROJECT_NO = SPI.PROJECT_NO
|
WHERE MODEL_NAME IS NOT NULL AND MODEL_NAME != ''
|
||||||
WHERE CODE_NAME(PM.PRODUCT) IS NOT NULL AND CODE_NAME(PM.PRODUCT) != ''
|
|
||||||
ORDER BY CODE
|
ORDER BY CODE
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
@@ -1319,13 +1319,13 @@
|
|||||||
<if test="search_work_order_no != null and search_work_order_no != ''">
|
<if test="search_work_order_no != null and search_work_order_no != ''">
|
||||||
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 부품품번 검색 -->
|
<!-- 부품품번 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
|
||||||
<if test="search_part_no != null and search_part_no != ''">
|
<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>
|
</if>
|
||||||
<!-- 부품명 검색 -->
|
<!-- 부품명 검색 (LIKE 검색 - 외 N건 항목도 검색 가능) -->
|
||||||
<if test="search_part_name != null and search_part_name != ''">
|
<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>
|
||||||
<!-- 검사일 검색 -->
|
<!-- 검사일 검색 -->
|
||||||
<if test="search_inspection_date != null and search_inspection_date != ''">
|
<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 != ''">
|
<if test="search_work_order_no != null and search_work_order_no != ''">
|
||||||
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
AND UPPER(SPI.WORK_ORDER_NO) LIKE UPPER('%' || #{search_work_order_no} || '%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 부품품번 검색 -->
|
<!-- 부품품번 검색 (LIKE 검색) -->
|
||||||
<if test="search_part_no != null and search_part_no != ''">
|
<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>
|
</if>
|
||||||
<!-- 부품명 검색 -->
|
<!-- 부품명 검색 (LIKE 검색) -->
|
||||||
<if test="search_part_name != null and search_part_name != ''">
|
<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>
|
||||||
<!-- 검사일 검색 -->
|
<!-- 검사일 검색 -->
|
||||||
<if test="search_inspection_date != null and search_inspection_date != ''">
|
<if test="search_inspection_date != null and search_inspection_date != ''">
|
||||||
@@ -1399,11 +1399,10 @@
|
|||||||
|
|
||||||
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
|
<!-- 반제품검사 품명(모델명) 드롭박스 목록 (CODE, NAME 형태) -->
|
||||||
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
|
<select id="getSemiProductModelNameList" parameterType="map" resultType="map">
|
||||||
SELECT DISTINCT CODE_NAME(PM.PRODUCT) AS CODE
|
SELECT DISTINCT MODEL_NAME AS CODE
|
||||||
, CODE_NAME(PM.PRODUCT) AS NAME
|
, MODEL_NAME AS NAME
|
||||||
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION SPI
|
FROM PMS_QUALITY_SEMI_PRODUCT_INSPECTION
|
||||||
INNER JOIN PROJECT_MGMT PM ON PM.PROJECT_NO = SPI.PROJECT_NO
|
WHERE MODEL_NAME IS NOT NULL AND MODEL_NAME != ''
|
||||||
WHERE CODE_NAME(PM.PRODUCT) IS NOT NULL AND CODE_NAME(PM.PRODUCT) != ''
|
|
||||||
ORDER BY CODE
|
ORDER BY CODE
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user