PatientLabelDao.java 522 B

123456789101112131415
  1. package com.yihu.jw.label;
  2. import com.yihu.jw.entity.base.label.PatientLabelDO;
  3. import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
  4. import org.springframework.data.repository.PagingAndSortingRepository;
  5. import java.util.List;
  6. /**
  7. * Created by Trick on 2018/12/7.
  8. */
  9. public interface PatientLabelDao extends PagingAndSortingRepository<PatientLabelDO, String>, JpaSpecificationExecutor<PatientLabelDO> {
  10. public List<PatientLabelDO> findByLabelTypeAndStatus(String labelType,Integer status);
  11. }