|
|
|
@ -147,6 +147,17 @@
|
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- QueryDSL框架依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>app</finalName>
|
|
|
|
@ -174,6 +185,24 @@
|
|
|
|
|
<dockerHost>http://116.62.145.60:2375</dockerHost>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<!--因为QueryDsl是类型安全的,所以还需要加上Maven APT plugin,使用 APT 自动生成Q类:-->
|
|
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
|
|
<version>1.1.3</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>process</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|
|
|
|
|