Quellcode durchsuchen

厂外库实时库存查询优化

xiaosonghong vor 6 Monaten
Ursprung
Commit
73d817eb24

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