package com.qmth.qrzk.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.qmth.qrzk.dao.ICodeDao;
import com.qmth.qrzk.repository.common.mapper.CodeMapper;
import com.qmth.qrzk.repository.user.model.Code;

@Repository("codeDaoImpl")
public class CodeDaoImpl implements ICodeDao{

	@Autowired
	@Qualifier("codeMapper")
	private CodeMapper codeMapper;
	
	@Override
	public List<Code> selectAll() {
		// TODO Auto-generated method stub
		return codeMapper.findAllCodes();
	}

}
