package com.ssj.service.sys.feedback.service.impl;

import com.ssj.bean.sys.feedback.domain.SconVoiceFeedbackDetail;
import com.ssj.dao.sys.feedback.dao.SconVoiceFeedbackDetailDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.sys.feedback.service.SconVoiceFeedbackDetailService;
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;


/** 
 * @author  ZhangCaibao 
 * @version 2018年5月11日 下午3:49:04 
 * 类说明 
 */
@Service
@Transactional
public class SconVoiceFeedbackDetailServiceImpl extends BaseServiceImpl<SconVoiceFeedbackDetail, String> implements SconVoiceFeedbackDetailService{
	@Autowired
	private SconVoiceFeedbackDetailDao  dao;
	@Override
	public PagingAndSortingRepository<SconVoiceFeedbackDetail, String> getDao() {
		return dao;
	}
	@Override
	public List<SconVoiceFeedbackDetail> findByFeedbackId(String feedbackId) {
		return dao.findByFeedbackId(feedbackId);
	}

	@Override
	public List<SconVoiceFeedbackDetail> findByFeedbackIdOrderByNumAsc(String feedbackId) {
		return dao.findByFeedbackIdOrderByNumAsc(feedbackId);
	}

}
