@@ -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>