package cn.com.qmth.scancentral.service; import cn.com.qmth.scancentral.entity.AssignedCheckHistoryEntity; import cn.com.qmth.scancentral.enums.Role; public interface AssignedCheckHistoryService { void deleteByStudentId(Long studentId); void save(Long userId, Long studentId, Long examId); AssignedCheckHistoryEntity findByStudentIdAndUserId(Long studentId, Long userId); int getCountByUserId(Long userId, Long examId,String subjectCode); void deleteByStudentIdAndUserRole(Long studentId, Role role); }