Selaa lähdekoodia

出库备货分配优化

k 1 vuosi sitten
vanhempi
commit
d93205563e

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