接口继承CrudRepository实现query查询
1.maven添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency>2.接口继承import com