Browse Source

出库备货分配优化

k 1 year ago
parent
commit
d93205563e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      warewms-ams/src/main/resources/mapper/ams/InvLotLocIdMapper.xml

+ 1 - 1
warewms-ams/src/main/resources/mapper/ams/InvLotLocIdMapper.xml

@@ -551,7 +551,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             </if>
             and b.stock_status = '00' and b.zone_id = '2'
         </where>
-        ORDER BY t3.orderByQty,inv.create_time
+        ORDER BY t3.orderByQty,inv.location_id,inv.create_time
     </select>
 
     <select id="queryInvByInvLotatt" resultMap="InvLotLocIdResult">