|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|