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.TbLibcancelInfo;
import com.ssj.dao.weixin.library.dao.ILibCancelDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.library.service.ILibCancelService;

@Service(version="1.0")
@Transactional
public class LibCancelServiceImpl extends BaseServiceImpl<TbLibcancelInfo, String> implements ILibCancelService {

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

	@Override
	public TbLibcancelInfo findByLibId(String libId) {
		return dao.findByLibId(libId);
	}

	

}
