|
@ -29,6 +29,6 @@ public interface FollowUpDao extends PagingAndSortingRepository<Followup, Long>,
|
|
|
Followup findLastFollowup(String[] doctors,String patientCode,String followClass) throws Exception;
|
|
|
|
|
|
@Query("select d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" +
|
|
|
",a.followupDate,a.followupPlanDate,a.followupNextDate from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and a.adminTeamCode = ?2 ")
|
|
|
",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and a.adminTeamCode = ?2 ")
|
|
|
Page<Object> findByPatientAndTeam(String patient, Long teamCode, Pageable pageable);
|
|
|
}
|