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

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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/** 
 * @author  ZhangCaibao 
 * @version 2017年9月6日 下午4:07:06 
 * 类说明 
 */
@Service
@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);
	}

}
