This commit is contained in:
wyd 2024-04-22 09:08:44 +08:00
parent 85f840b184
commit 30f398805a
3 changed files with 10 additions and 5 deletions

View File

@ -87,13 +87,15 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- knife4j-->
<!-- knife4jswagger-->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<!--在引用时请在maven中央仓库搜索3.X最新版本号-->
<version>2.0.9</version>
</dependency>
<!-- pool 对象池 -->
<dependency>
<groupId>org.apache.commons</groupId>
@ -113,18 +115,21 @@
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.spring.boot.starter.version}</version>
</dependency>
<!-- 阿里数据库连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid.version}</version>
</dependency>
<!-- mybatis-plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<!-- 自定义验证注解 -->
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -26,7 +26,7 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("${functionName}")
@ApiModel("${functionName}")
@TableName("${tableName}")
public class ${ClassName}{
private static final long serialVersionUID=1L;
@ -54,7 +54,7 @@ private static final long serialVersionUID=1L;
#end
#else
#if($column.javaType == 'Date')
/** $column.columnComment */
/** $column.columnComment */
@ApiModelProperty("$column.columnComment")
@TableField("$column.columnName")
@JSONField(serializeUsing = ToStringSerializer.class)

View File

@ -26,7 +26,7 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("${functionName}")
@ApiModel("${functionName}")
@TableName("${tableName}")
public class ${ClassName}{
private static final long serialVersionUID=1L;
@ -54,7 +54,7 @@ private static final long serialVersionUID=1L;
#end
#else
#if($column.javaType == 'Date')
/** $column.columnComment */
/** $column.columnComment */
@ApiModelProperty("$column.columnComment")
@TableField("$column.columnName")
@JSONField(serializeUsing = ToStringSerializer.class)