|
@ -39,7 +39,7 @@ public interface PatientRehabilitationPlanDao extends PagingAndSortingRepository
|
|
|
@Query("select count(distinct p.patient) from PatientRehabilitationPlanDO p where p.createUser=?1 and p.status=1 ")
|
|
|
Integer patientCountByUnfinish(String doctorCode);
|
|
|
|
|
|
@Query("update PatientRehabilitationPlanDO a set a.status=0,a.abortReason=?1,a.abortTime=?3 where a.id =?2 ")
|
|
|
@Modifying
|
|
|
int abortPlanById(String abortReason, String id, Date abortTime);
|
|
|
// @Query("update PatientRehabilitationPlanDO a set a.status=0,a.abortReason=?1,a.abortTime=?3 where a.id =?2 ")
|
|
|
// @Modifying
|
|
|
// int abortPlanById(String abortReason, String id, Date abortTime);
|
|
|
}
|