class AnUploadFileManagerImpl extends BaseServiceImpl<AnUplodFile, String> implements AnUploadFileManager {

	@Autowired
	private AnUploadFileDao anUploadFileDao;

	@Override
	public void setBaseDao() {
		this.baseDao=anUploadFileDao;
	}

	//根据exam_user信息查询答案
	public List<AnUplodFile> findAnswer(String belongAnswerId, String quId){<FILL_FUNCTION_BODY>}

	@Override
	public void findGroupStats(Question question) {
		anUploadFileDao.findGroupStats(question);
	}

	public List<AnUplodFile> findAnswer(String surveyId){
		//belongAnswerId quId
		Criterion criterion1=Restrictions.eq("belongId", surveyId);
		return anUploadFileDao.find(criterion1);
	}

}

		//belongAnswerId quId
		Criterion criterion1=Restrictions.eq("belongAnswerId", belongAnswerId);
		Criterion criterion2=Restrictions.eq("quId", quId);
		return anUploadFileDao.find(criterion1,criterion2);
	
<methods>public non-sealed void <init>() ,public void delete(net.diaowen.dwsurvey.entity.AnUplodFile) ,public void delete(java.lang.String) ,public net.diaowen.dwsurvey.entity.AnUplodFile findById(java.lang.String) ,public transient List<net.diaowen.dwsurvey.entity.AnUplodFile> findList(org.hibernate.criterion.Criterion[]) ,public transient Page<net.diaowen.dwsurvey.entity.AnUplodFile> findPage(Page<net.diaowen.dwsurvey.entity.AnUplodFile>, org.hibernate.criterion.Criterion[]) ,public Page<net.diaowen.dwsurvey.entity.AnUplodFile> findPageByCri(Page<net.diaowen.dwsurvey.entity.AnUplodFile>, List<org.hibernate.criterion.Criterion>) ,public net.diaowen.dwsurvey.entity.AnUplodFile get(java.lang.String) ,public net.diaowen.dwsurvey.entity.AnUplodFile getModel(java.lang.String) ,public void save(net.diaowen.dwsurvey.entity.AnUplodFile) <variables>protected BaseDao<net.diaowen.dwsurvey.entity.AnUplodFile,java.lang.String> baseDao