package cn.com.qmth.examcloud.core.questions.dao;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.query.QueryByExampleExecutor;

import cn.com.qmth.examcloud.core.questions.dao.entity.RandomPaper;

public interface RandomPaperRepo
		extends MongoRepository<RandomPaper, String>, QueryByExampleExecutor<RandomPaper> {

	RandomPaper findByRootOrgIdAndName(Long rootOrgId, String name);

}
