package com.ffii.fpsms.modules.bag.entity

import com.ffii.core.support.AbstractRepository
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.query.Param
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.stereotype.Repository
import java.io.Serializable
import java.time.LocalDateTime

@Repository
interface JoBagConsumptionRepository : AbstractRepository<JoBagConsumption, Long> {
    fun findAllByDeletedIsFalse(): List<JoBagConsumption>
    fun findAllByBagLotLineIdAndDeletedIsFalse(bagLotLineId: Long): List<JoBagConsumption>
     fun findAllByBagId(bagId: Long): List<BagLotLine>
}
