From 976dbf432a0addc77cbbf47795edc59169673456 Mon Sep 17 00:00:00 2001 From: smallchill Date: Wed, 12 Apr 2023 01:14:42 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=95=B0=E6=8D=AE=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=AD=97=E6=AE=B5comment=E6=94=B9=E5=90=8D=E4=B8=BAjdbc=5Fcomm?= =?UTF-8?q?ent=E4=BB=A5=E9=81=BF=E5=85=8D=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/tool/model.js | 2 +- src/views/tool/model.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/const/tool/model.js b/src/const/tool/model.js index 3b64c61c..0c81b1db 100644 --- a/src/const/tool/model.js +++ b/src/const/tool/model.js @@ -263,7 +263,7 @@ export const optionModel = { }, { label: '字段说明', - prop: 'comment', + prop: 'jdbcComment', cell: true, }, { diff --git a/src/views/tool/model.vue b/src/views/tool/model.vue index 43b4865b..380d5e18 100644 --- a/src/views/tool/model.vue +++ b/src/views/tool/model.vue @@ -320,6 +320,7 @@ export default { if (!validatenull(item.name)) { item.jdbcName = item.name; item.jdbcType = item.propertyType; + item.jdbcComment = item.comment; if (item.propertyType === 'LocalDateTime') { item.propertyType = 'Date'; item.propertyEntity = 'java.util.Date';