package com.ssj.service.sys.award.service.impl;

import com.ssj.bean.sys.award.domain.AwardActivityLog;
import com.ssj.dao.sys.award.dao.AwardActivityLogDao;
import com.ssj.dao.sys.award.dao.AwardQueryDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.sys.award.service.AwardActivityLogService;
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.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Service
@Transactional
public class AwardActivityLogServiceImpl extends BaseServiceImpl<AwardActivityLog, String> implements AwardActivityLogService {
	
	@Autowired
	private AwardActivityLogDao  awardActivityLogDao;

	@Autowired
	private AwardQueryDao  queryDao;

	@Override
	public PagingAndSortingRepository<AwardActivityLog, String> getDao() {
		return awardActivityLogDao;
	}

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