Browse Source

实时库存查询去除重复数据

shxiaoc 1 year ago
parent
commit
04b5808bf2

+ 1 - 0
src/main/resources/com/steerinfo/dil/mapper/OyeRealtimeInventoryMapper.xml

@@ -750,6 +750,7 @@
     AND ORI.INBOUND_WAREHOUSE = #{inboundWarehouse,jdbcType=VARCHAR}
     AND ORI.meter = #{meter,jdbcType=DECIMAL}
     AND ORI.INBOUND_AREA = #{inboundArea,jdbcType=VARCHAR}
+    fetch next 1 rows only
   </select>
     <select id="seleOtmsParams" resultType="java.util.Map">
       SELECT *