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


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

@Service
@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);
	}



}
