package com.ssj.service.kmt.kmt.service.impl;

import com.ssj.bean.kmt.kmt.domain.KmtTags;
import com.ssj.dao.kmt.kmt.dao.KmtTagsDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.kmt.service.KmtTagsService;
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;


@Transactional
@Service
public class KmtTagsServiceImpl extends BaseServiceImpl<KmtTags, String> implements KmtTagsService {

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

	@Override
	public List<KmtTags> findTagByType(Integer type) {
		return dao.findTagByType(type);
	}
	
	
	
	
	
}
