소스 검색

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

shxiaoc 2 년 전
부모
커밋
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 *