ArchiveTemplateDao.java 597 B

123456789101112131415161718192021
  1. package com.yihu.ehr.profile.dao;
  2. import com.yihu.ehr.profile.model.ArchiveTemplate;
  3. import org.springframework.data.repository.PagingAndSortingRepository;
  4. import java.util.List;
  5. /**
  6. * @author Sand
  7. * @version 1.0
  8. * @created 2016.04.08 11:56
  9. */
  10. public interface ArchiveTemplateDao extends PagingAndSortingRepository<ArchiveTemplate, Integer> {
  11. List<ArchiveTemplate> findByTitleAndCdaVersion (String title, String cdaVersion);
  12. List<ArchiveTemplate> findByCdaVersionAndAndCdaCode (String version, String code);
  13. List<ArchiveTemplate> findByCdaDocumentId(List<String> docIds);
  14. }