|  | @ -15,7 +15,7 @@ import java.util.List;
 | 
	
		
			
				|  |  | public interface DoctorTeamGuidanceTemplateDao extends PagingAndSortingRepository<DoctorTeamGuidanceTemplate, Long>, JpaSpecificationExecutor<DoctorTeamGuidanceTemplate> {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     //    新增团队模板时团队内标题排重
 | 
	
		
			
				|  |  |     @Query("select t from DoctorTeamGuidanceTemplate t where t.title = ?1 and t.teamId = ?2 ")
 | 
	
		
			
				|  |  |     @Query("select t from DoctorTeamGuidanceTemplate t where t.del = 1 and t.title = ?1 and t.teamId = ?2 ")
 | 
	
		
			
				|  |  |     List<DoctorTeamGuidanceTemplate> distinctByTeamTitle(String title, int teamId);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     //    根据团队ID获取团队内的模板列表(带分页和创建时间倒序)
 |