|
@@ -1005,15 +1005,13 @@
|
|
|
AND ORI.material_Id = #{materialId}
|
|
|
AND ORI.sale_area = #{saleArea}
|
|
|
AND ORI.CONSIGNEE_ID = #{receiveId}
|
|
|
+ AND ORI.inbound_Warehouse = #{inboundWarehouse}
|
|
|
<if test="meter != null">
|
|
|
AND NVL(ORI.METER,0) = NVL(#{meter},0)
|
|
|
</if>
|
|
|
<if test="singleWeight != null">
|
|
|
AND ORI.single_Weight = #{singleWeight}
|
|
|
</if>
|
|
|
- <if test="inboundWarehouse != null">
|
|
|
- AND ORI.inbound_Warehouse = #{inboundWarehouse}
|
|
|
- </if>
|
|
|
</where>
|
|
|
ORDER BY ORI.MATERIAL_NUMBER desc
|
|
|
FETCH NEXT 1 ROW ONLY
|