package com.ffii.fpsms.modules.stock.entity

import com.ffii.core.support.AbstractRepository
import org.springframework.stereotype.Repository
import java.util.Optional

@Repository
interface StockOutRepository: AbstractRepository<StockOut, Long>  {
    fun findByConsoPickOrderCode(consoPickOrderCode: String) : Optional<StockOut>
    fun findByStockTakeIdAndDeletedFalse(stockTakeId: Long): StockOut?
}