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

import com.ssj.bean.weixin.sales.domain.LibCourse;
import com.ssj.dao.weixin.sales.dao.LibCourseDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.sales.service.LibCourseService;
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;
import java.util.Map;


@Service
@Transactional
public class LibCourseServiceImpl extends BaseServiceImpl<LibCourse, String>  implements LibCourseService {

	@Autowired
	private LibCourseDao  libCourseDao;
	
	@Override
	public PagingAndSortingRepository<LibCourse, String> getDao() {
		return null;
	}
	@Override
	public List<Map<String, Object>> getByLibIdLibCourse(String libId,String type) {
		return libCourseDao.getByLibIdLibCourse(libId, type);
	}
	
	@Override
	public List<Map<String, Object>> getByLibIdLibCourseDay(String libId,String type, String day) {
		return libCourseDao.getByLibIdLibCourseDay(libId, type,day);
	}
	
	

}
