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';