|
@ -82,6 +82,6 @@ public interface RehabilitationDetailDao extends PagingAndSortingRepository<Reha
|
|
|
int updateExecuteTime(Date executeTime,String id);
|
|
|
|
|
|
@Modifying
|
|
|
@Query("delete from RehabilitationDetailDO t where t.planId = ?1 and t.hospitalServiceItemId = ?2 and (t.executeTime > ?3 OR t.executeTime is null OR t.executeTime<>'') and t.status <> 2 ")
|
|
|
@Query("delete from RehabilitationDetailDO t where t.planId = ?1 and t.hospitalServiceItemId = ?2 and (t.executeTime > ?3 OR t.executeTime is null OR t.executeTime<>'') and t.status <> 1 ")
|
|
|
void deleteDetailByPlanIdAndHospitalServiceItemId(String planId, String hospitalServiceItemId, Date dateShort);
|
|
|
}
|