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

import com.ssj.bean.kmt.kmt.domain.KmtQualityQuestionKnow;
import com.ssj.dao.kmt.kmt.dao.KmtQualityQuestionKnowDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.kmt.service.KmtQualityQuestionKnowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author: chchen
 * @Description
 * @Date Create in 15:02 2020/5/28
 * @Modified By
 */
@Transactional
@Service
public class KmtQualityQuestionKnowServiceImpl extends BaseServiceImpl<KmtQualityQuestionKnow, String> implements KmtQualityQuestionKnowService {

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


    @Override
    public void flush() {
        dao.flush();
    }
}
