luobang 2 년 전
부모
커밋
b59882d637
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

+ 3 - 0
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -2383,6 +2383,9 @@
                         AND NVL(ASOM.WARRANTY_NUMBER,0) = 1
                         AND ASOM.PREVIOUS_ORDER_NUMBER IS  NULL)
                     </if>
+                    <if test="saleNo != null">
+                        and aso.sale_number like '%${saleNo}%'
+                    </if>
                     order by ASO.SALE_ORDER_ID DESC, ASOM.SALE_ORDER_MATERIAL_ID DESC,OO.ORDER_ID  DESC
                      )
     </select>