package com.ffii.fpsms.modules.jobOrder.entity

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

@Repository
interface JobOrderBomMaterialRepository : AbstractRepository<JobOrderBomMaterial, Long> {
    fun findByJobOrderIdAndItemId(jobOrderId: Long, itemId: Long): JobOrderBomMaterial?;

    fun findAllByJobOrderId(jobOrderId: Long): List<JobOrderBomMaterial>;
}