|
@ -34,6 +34,7 @@ public interface OutpatientDao extends PagingAndSortingRepository<WlyyOutpatient
|
|
|
@Query("from WlyyOutpatientDO a where a.generalDoctor = ?1 and a.registerDate >=?2 and a.registerDate <=?3 and a.status = ?4 and a.doctor is not null order by registerDate ASC")
|
|
|
List<WlyyOutpatientDO> findByGeneralDoctor(String generalDoctor, Date startDate,Date endDate,String status);
|
|
|
|
|
|
@Query("from WlyyOutpatientDO a where a.status in(?1) and a.payStatus = 1")
|
|
|
List<WlyyOutpatientDO> findByStatus(String status);
|
|
|
|
|
|
List<WlyyOutpatientDO> findByDoctorAndCreateTimeAndPatientCancelRemark(String doctor,Date createTime,String patientCancelRemark);
|