lyr 8 年之前
父節點
當前提交
17baa876c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      patient-co-wlyy/src/main/java/com/yihu/wlyy/repository/followup/FollowUpDao.java

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/repository/followup/FollowUpDao.java

@ -16,7 +16,7 @@ import com.yihu.wlyy.entity.followup.Followup;
import java.util.Date;
import java.util.Date;
import java.util.List;
import java.util.List;
public interface FollowupDao extends PagingAndSortingRepository<Followup, Long>, JpaSpecificationExecutor<Followup> {
public interface FollowUpDao extends PagingAndSortingRepository<Followup, Long>, JpaSpecificationExecutor<Followup> {
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupDate between ?2 and ?3 and a.status <> '0'")
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupDate between ?2 and ?3 and a.status <> '0'")
    List<Followup> findByDoctor(String doctor, Date begin, Date end, Pageable pageRequest) throws Exception;
    List<Followup> findByDoctor(String doctor, Date begin, Date end, Pageable pageRequest) throws Exception;