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

import com.ffii.core.support.AbstractRepository
import com.ffii.fpsms.modules.qc.entity.projection.QcCategoryInfo
import com.ffii.fpsms.modules.qc.entity.projection.QcItemInfo
import org.springframework.stereotype.Repository

@Repository
interface QcItemCategoryRepository : AbstractRepository<QcItemCategory, Long> {
    fun findAllByQcCategoryId(qcCategoryId : Long): List<QcItemInfo>
    
    fun countByQcItemId(qcItemId: Long): Long
}