From 5589258324faa6d9e1ec7e5226e98dc2e1a18adc Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 05 二月 2024 09:28:34 +0800 Subject: [PATCH] 集成graphql和jpa --- dujy-modules/dujy-demo/pom.xml | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/dujy-modules/dujy-demo/pom.xml b/dujy-modules/dujy-demo/pom.xml index 72f9d18..5d233dd 100644 --- a/dujy-modules/dujy-demo/pom.xml +++ b/dujy-modules/dujy-demo/pom.xml @@ -22,7 +22,16 @@ <groupId>org.dujy</groupId> <artifactId>dujy-common-core</artifactId> </dependency> - + <!-- jpa --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-jpa</artifactId> + </dependency> + <!--graphql --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-graphql</artifactId> + </dependency> <dependency> <groupId>org.dujy</groupId> <artifactId>dujy-common-doc</artifactId> @@ -102,6 +111,14 @@ <groupId>org.dujy</groupId> <artifactId>dujy-common-websocket</artifactId> </dependency> + <dependency> + <groupId>org.springframework.graphql</groupId> + <artifactId>spring-graphql</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.graphql</groupId> + <artifactId>spring-graphql</artifactId> + </dependency> </dependencies> -- Gitblit v1.8.0