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.ICodeBookLogDao;
import com.qmth.qrzk.repository.service.query.CodeBookLogParams;
import com.qmth.qrzk.repository.user.model.CodeBookLog;
import com.qmth.qrzk.repository.user.service.ICodeBookLogService;

@Service("codeBookLogServiceImpl")
public class CodeBookLogServiceImpl implements ICodeBookLogService{

	@Autowired
	@Qualifier("codeBookLogImpl")
	private ICodeBookLogDao codeBookLogDao;


	@Override
	public int addLog(CodeBookLog cbl) {
		// TODO Auto-generated method stub
		return codeBookLogDao.addLog(cbl);
	}


	@Override
	public List<CodeBookLog> queryAllLog(CodeBookLogParams params) {
		// TODO Auto-generated method stub
		return codeBookLogDao.queryAllLog(params);
	}


	@Override
	public int queryAllLogCount(CodeBookLogParams params) {
		// TODO Auto-generated method stub
		return codeBookLogDao.queryAllLogCount(params);
	}


}
