package com.ffii.fpsms.modules.master.entity

import com.ffii.core.support.AbstractRepository
import org.springframework.stereotype.Repository

@Repository
interface BomProcessMaterialRepository : AbstractRepository<BomProcessMaterial, Long> {
    fun findByBomProcessIdAndBomMaterialId(bomProcessId: Long, bomMaterialId: Long): BomProcessMaterial?
    fun findByBomProcess_IdIn(bomProcessIds: List<Long>): List<BomProcessMaterial>
}