package com.ssj.service.weixin.problem.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.dubbo.config.annotation.Service;
import com.ssj.bean.weixin.problem.domain.RequestMethodLog;
import com.ssj.dao.weixin.problem.dao.ProblemQueryDao;
import com.ssj.dao.weixin.problem.dao.RequestMethodLogDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.problem.service.RequestMethodLogService;


@Service(version="1.0")
@Transactional
public class RequestMethodLogServiceImpl extends BaseServiceImpl<RequestMethodLog, String> implements RequestMethodLogService{
	@Autowired
	private RequestMethodLogDao  requestMethodLogDao;
	@Autowired
	private ProblemQueryDao  problemQueryDao;

	@Override
	public PagingAndSortingRepository<RequestMethodLog, String> getDao() {
		return requestMethodLogDao;
	}

	@Override
	public Page<Map<String, Object>> findRequestMethodLogPage(
			Map<String, Object> searchParams, Pageable pageable) {
		return problemQueryDao.findRequestMethodLogPage(searchParams, pageable);
	}

}
