ExamLocationServiceImpl.java 835 B

12345678910111213141516171819202122232425262728
  1. package com.keao.edu.user.service.impl;
  2. import com.keao.edu.common.dal.BaseDAO;
  3. import com.keao.edu.common.service.impl.BaseServiceImpl;
  4. import com.keao.edu.user.dao.ExamLocationDao;
  5. import com.keao.edu.user.entity.ExamLocation;
  6. import com.keao.edu.user.service.ExamLocationService;
  7. import org.springframework.beans.factory.annotation.Autowired;
  8. import org.springframework.stereotype.Service;
  9. import java.util.List;
  10. @Service
  11. public class ExamLocationServiceImpl extends BaseServiceImpl<Integer, ExamLocation> implements ExamLocationService {
  12. @Autowired
  13. private ExamLocationDao examLocationDao;
  14. @Override
  15. public BaseDAO<Integer, ExamLocation> getDAO() {
  16. return examLocationDao;
  17. }
  18. @Override
  19. public List<ExamLocation> getTenantAllLocations(String tenantId) {
  20. return examLocationDao.getTenantAllLocations(tenantId);
  21. }
  22. }