瀏覽代碼

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

shxiaoc 1 年之前
父節點
當前提交
04b5808bf2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/com/steerinfo/dil/mapper/OyeRealtimeInventoryMapper.xml

+ 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 *