@ -83,6 +83,6 @@ public interface MessageDao extends PagingAndSortingRepository<Message, Long>, J
int findTzMessage(String patient);
//根据续方关联code查询团队长分配健管师消息
@Query("from Message a where a.type = 3 and a.state=0 and a.del='1' and a.over='0' and relationCode = ?1 ")
@Query("from Message a where a.type = 8 and a.state=0 and a.del='1' and a.over='0' and relationCode = ?1 ")
Message findByRelationCode(String relationCode);
}