package com.ssj.service.kmt.service;

import com.ssj.bean.kmt.kmt.domain.KmtExerciseLibPriority;
import com.ssj.framework.core.common.service.BaseService;

/**
 * @author yanghuan
 * @title: KmtExerciseLibPriorityService
 * @projectName ssj
 * @description: TODO
 * @date 2020/6/4 11:08
 */
public interface KmtExerciseLibPriorityService extends BaseService<KmtExerciseLibPriority,String> {

    /**
     * 通过科目刷新统计的所有数据
     */
    void deleteOrgCountBySubject(String subject);

    /**
     * 通过科目和馆查找数据
     */
    KmtExerciseLibPriority findByLibIdAndSubject(String libId,String subject);

    /**
     * 通过科目和馆id删除数据
     */
    void deleteOrgCountByLibIdAndSubject(String libId,String subject);
}
