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

import java.util.List;

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.zyb.domain.ZuoybWeek;
import com.ssj.dao.weixin.zuoyb.dao.ZuoybWeekDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.zuoyb.service.ZuoybWeekService;


/** 
 * @author  ZhangCaibao 
 * @version 2017年9月6日 下午4:07:06 
 * 类说明 
 */
@Service(version="1.0")
@Transactional
public class ZuoybWeekServiceImpl extends BaseServiceImpl<ZuoybWeek, String> implements ZuoybWeekService{

	@Autowired
	private  ZuoybWeekDao  zuoybWeekDao;
	
	@Override
	public PagingAndSortingRepository<ZuoybWeek, String> getDao() {
		return zuoybWeekDao;
	}

	@Override
	public List<ZuoybWeek> findByLibIdAndDaysAndHour(String libId,
			Integer days, String courseHour) {
		return zuoybWeekDao.findByLibIdAndDaysAndHour(libId, days, courseHour);
	}

}
