package com.bcxin.survey.service; import com.bcxin.survey.dao.report.DataDao; import com.bcxin.survey.domain.SystemConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; @Service("dataService") @Transactional public class DataServiceImpl implements DataService { @Autowired private DataDao dataDao; @Override public List findSystemConfigs(){ return dataDao.findAll(SystemConfig.class); } }