소스 검색

厂外库实时库存查询优化

xiaosonghong 6 달 전
부모
커밋
73d817eb24
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/resources/com/steerinfo/dil/mapper/OyeRealtimeInventoryMapper.xml

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

@@ -738,6 +738,9 @@
           ORI.SALE_AREA like '%${item}%'
         </foreach>
       </if>
+      <if test="isExcludeZero != null and isExcludeZero == true">
+         AND NVL(ORI.MATERIAL_NUMBER, 0) > 0
+      </if>
     </where>
     ORDER BY RC.CONSIGNEE_COMPANY_NAME desc,ORI.SALE_AREA desc
   </select>