...
This commit is contained in:
parent
85f840b184
commit
30f398805a
7
pom.xml
7
pom.xml
@ -87,13 +87,15 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- knife4j-->
|
|
||||||
|
<!-- knife4jswagger-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.xiaoymin</groupId>
|
<groupId>com.github.xiaoymin</groupId>
|
||||||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||||||
<!--在引用时请在maven中央仓库搜索3.X最新版本号-->
|
<!--在引用时请在maven中央仓库搜索3.X最新版本号-->
|
||||||
<version>2.0.9</version>
|
<version>2.0.9</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- pool 对象池 -->
|
<!-- pool 对象池 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
@ -113,18 +115,21 @@
|
|||||||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||||||
<version>${pagehelper.spring.boot.starter.version}</version>
|
<version>${pagehelper.spring.boot.starter.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 阿里数据库连接池 -->
|
<!-- 阿里数据库连接池 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>druid-spring-boot-starter</artifactId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
<version>${druid.version}</version>
|
<version>${druid.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- mybatis-plus -->
|
<!-- mybatis-plus -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
<version>${mybatis-plus.version}</version>
|
<version>${mybatis-plus.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 自定义验证注解 -->
|
<!-- 自定义验证注解 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
@ -26,7 +26,7 @@ import lombok.NoArgsConstructor;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
@ApiModel("${functionName}")
|
@ApiModel("${functionName}表")
|
||||||
@TableName("${tableName}")
|
@TableName("${tableName}")
|
||||||
public class ${ClassName}{
|
public class ${ClassName}{
|
||||||
private static final long serialVersionUID=1L;
|
private static final long serialVersionUID=1L;
|
||||||
@ -54,7 +54,7 @@ private static final long serialVersionUID=1L;
|
|||||||
#end
|
#end
|
||||||
#else
|
#else
|
||||||
#if($column.javaType == 'Date')
|
#if($column.javaType == 'Date')
|
||||||
/** $column.columnComment */
|
/** $column.columnComment */
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@TableField("$column.columnName")
|
@TableField("$column.columnName")
|
||||||
@JSONField(serializeUsing = ToStringSerializer.class)
|
@JSONField(serializeUsing = ToStringSerializer.class)
|
||||||
|
@ -26,7 +26,7 @@ import lombok.NoArgsConstructor;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
@ApiModel("${functionName}")
|
@ApiModel("${functionName}表")
|
||||||
@TableName("${tableName}")
|
@TableName("${tableName}")
|
||||||
public class ${ClassName}{
|
public class ${ClassName}{
|
||||||
private static final long serialVersionUID=1L;
|
private static final long serialVersionUID=1L;
|
||||||
@ -54,7 +54,7 @@ private static final long serialVersionUID=1L;
|
|||||||
#end
|
#end
|
||||||
#else
|
#else
|
||||||
#if($column.javaType == 'Date')
|
#if($column.javaType == 'Date')
|
||||||
/** $column.columnComment */
|
/** $column.columnComment */
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@TableField("$column.columnName")
|
@TableField("$column.columnName")
|
||||||
@JSONField(serializeUsing = ToStringSerializer.class)
|
@JSONField(serializeUsing = ToStringSerializer.class)
|
||||||
|
Loading…
Reference in New Issue
Block a user