From e6b17da32ab499fae51b66d0a137ab87cadc3aff Mon Sep 17 00:00:00 2001 From: liyongbo2 Date: Mon, 20 Jun 2022 11:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A5=E4=BD=9C=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E5=A4=87=E7=94=A8=E5=AD=97=E6=AE=B51=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=EF=BC=8C=E6=94=B9=E4=B8=BA=E6=91=98=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/renren/modules/workDynamics/dto/WorkDynamicsDTO.java | 2 +- .../renren/modules/workDynamics/entity/WorkDynamicsEntity.java | 2 +- .../io/renren/modules/workDynamics/excel/WorkDynamicsExcel.java | 2 +- .../main/resources/db/V1.4__tb_work_dynamics_update_note1.sql | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 renren-admin/src/main/resources/db/V1.4__tb_work_dynamics_update_note1.sql diff --git a/renren-admin/src/main/java/io/renren/modules/workDynamics/dto/WorkDynamicsDTO.java b/renren-admin/src/main/java/io/renren/modules/workDynamics/dto/WorkDynamicsDTO.java index 011b87df..5320236c 100644 --- a/renren-admin/src/main/java/io/renren/modules/workDynamics/dto/WorkDynamicsDTO.java +++ b/renren-admin/src/main/java/io/renren/modules/workDynamics/dto/WorkDynamicsDTO.java @@ -36,7 +36,7 @@ public class WorkDynamicsDTO implements Serializable { private Long updater; @ApiModelProperty(value = "修改时间") private Date updateDate; - @ApiModelProperty(value = "备用字段1") + @ApiModelProperty(value = "摘要") private String note1; @ApiModelProperty(value = "备用字段2") private String note2; diff --git a/renren-admin/src/main/java/io/renren/modules/workDynamics/entity/WorkDynamicsEntity.java b/renren-admin/src/main/java/io/renren/modules/workDynamics/entity/WorkDynamicsEntity.java index 105bd91d..c5b417d4 100644 --- a/renren-admin/src/main/java/io/renren/modules/workDynamics/entity/WorkDynamicsEntity.java +++ b/renren-admin/src/main/java/io/renren/modules/workDynamics/entity/WorkDynamicsEntity.java @@ -59,7 +59,7 @@ public class WorkDynamicsEntity { @TableField(fill = FieldFill.INSERT_UPDATE) private Date updateDate; /** - * 备用字段1 + * 摘要 */ private String note1; /** diff --git a/renren-admin/src/main/java/io/renren/modules/workDynamics/excel/WorkDynamicsExcel.java b/renren-admin/src/main/java/io/renren/modules/workDynamics/excel/WorkDynamicsExcel.java index 94161c12..cee667cd 100644 --- a/renren-admin/src/main/java/io/renren/modules/workDynamics/excel/WorkDynamicsExcel.java +++ b/renren-admin/src/main/java/io/renren/modules/workDynamics/excel/WorkDynamicsExcel.java @@ -36,7 +36,7 @@ public class WorkDynamicsExcel { private Long updater; @ExcelProperty(value = "修改时间", index = 8) private Date updateDate; - @ExcelProperty(value = "备用字段1", index = 9) + @ExcelProperty(value = "摘要", index = 9) private String note1; @ExcelProperty(value = "备用字段2", index = 10) private String note2; diff --git a/renren-admin/src/main/resources/db/V1.4__tb_work_dynamics_update_note1.sql b/renren-admin/src/main/resources/db/V1.4__tb_work_dynamics_update_note1.sql new file mode 100644 index 00000000..742f7c16 --- /dev/null +++ b/renren-admin/src/main/resources/db/V1.4__tb_work_dynamics_update_note1.sql @@ -0,0 +1,2 @@ +ALTER TABLE `share_platform`.`tb_work_dynamics` +MODIFY COLUMN `note1` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '摘要' AFTER `update_date`; \ No newline at end of file