package com.qmth.qrzk.repository.user.service.impl;

import java.util.List;

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

import com.qmth.qrzk.dao.ICodeDao;
import com.qmth.qrzk.repository.user.model.Code;
import com.qmth.qrzk.repository.user.service.ICodeSerivce;

@Service("codeServiceImpl")
public class CodeServiceImpl implements ICodeSerivce {

	@Autowired
	@Qualifier("codeDaoImpl")
	private ICodeDao codeDao;
	
	@Override
	public List<Code> getAllCode() {
		// TODO Auto-generated method stub
		return codeDao.selectAll();
	}

}
