瀏覽代碼

厂外库实时库存查询优化

xiaosonghong 6 月之前
父節點
當前提交
2e1f189353
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/OyeRealtimeInventoryMapper.xml

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

@@ -742,7 +742,7 @@
          AND NVL(ORI.MATERIAL_NUMBER, 0) > 0
       </if>
     </where>
-    ORDER BY RC.CONSIGNEE_COMPANY_NAME desc,ORI.SALE_AREA desc
+    ORDER BY RC.CONSIGNEE_COMPANY_NAME desc, ORI.SALE_AREA desc, RM.MATERIAL_NAME desc, RM.MATERIAL_SPECIFICATION
   </select>
   <!--以下条件删除 AND ORI.SINGLE_WEIGHT = #{singleWeight,jdbcType=DECIMAL}-->
   <select id="getInventoryId" resultType="java.math.BigDecimal" parameterType="java.util.Map">