/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package com.yihu.wlyy.repository; import java.util.Date; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import com.yihu.wlyy.entity.doctor.schedule.DoctorSchedulingTimes; public interface DoctorSchedulingTimesDao extends PagingAndSortingRepository { // 查询三师团队视频预约情况 @Query("select a.scheduling, a.appoDate, a.times from DoctorSchedulingTimes a where a.doctor = ?1 and a.appoDate between ?2 and ?3") Iterable findByTeam(String team, Date begin, Date end); }