package com.ssj.service.weixin.tyzyb.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.tyzyb.domain.TbTyZyb;
import com.ssj.dao.weixin.tyzyb.dao.ITyZybDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.weixin.tyzyb.service.ITyZybService;

@Service(version="1.0")
@Transactional
public class TyZybServiceImpl extends BaseServiceImpl<TbTyZyb, String> implements ITyZybService {

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

	@Override
	public TbTyZyb findByAnyCondition(String userId) {
		
		return dao.findByAnyCondition(userId);
	}



}
