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

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

import com.alibaba.dubbo.config.annotation.Service;
import com.ssj.bean.weixin.libmy.domain.TbLibWeeklyRecord;
import com.ssj.dao.weixin.library.dao.LibWeeklyRecordDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.library.service.LibWeeklyRecordService;


@Service(version="1.0")
@Transactional
public class LibWeeklyRecordServiceImpl extends BaseServiceImpl<TbLibWeeklyRecord, String> implements  LibWeeklyRecordService{

	@Autowired
	private LibWeeklyRecordDao dao;
	
	@Override
	public PagingAndSortingRepository<TbLibWeeklyRecord, String> getDao() {
		return dao;
	}

	@Override
	public TbLibWeeklyRecord findByVipIdAndStartTime(String vipId,String startTime) {
		return dao.findByVipIdAndStartTime(vipId, startTime);
	}

	

}
