1. FIFO 推荐时要加上 sn_status = 40 的筛选条件

yun-zuoyi
于学杰 6 years ago
parent 022d178833
commit aed953a03e

@ -30,7 +30,7 @@ public interface WmsStockSnRepository extends BaseRepository<WmsStockSn, Long> {
*/
@Query(value = "from WmsStockSn " +
"where organizeCode=?1 " +
"and zoneNo=?2 and partNo=?3 and isValid=?4 and isDeleted=?5 " +
"and zoneNo=?2 and partNo=?3 and isValid=?4 and isDeleted=?5 and snStatus=40 " +
"order by fixLotNo, dateCode, lotNo")
List<WmsStockSn> findByFifoSNByZoneNo(String organizeCode, String zoneNo, String partNo, int isValid, int isDeleted);
}

Loading…
Cancel
Save