在生成的entity中增加swagger接口文档中属性说明注解

This commit is contained in:
zhangjiajia committed 2019-06-27 18:31:34 +08:00
1 parent a002299c3e
commit 7fb34b26e7
5 files changed
+27 -3

No files matched your search

@@ -17,7 +17,7 @@
</select>
<select id="queryColumns" resultType="map">
select column_name columnName, data_type dataType, column_comment columnComment, column_key columnKey, extra from information_schema.columns
select column_name columnName, data_type dataType, column_comment columnComment, column_key columnKey, extra ,is_nullable as isNullable,column_type as columnType from information_schema.columns
where table_name = #{tableName} and table_schema = (select database()) order by ordinal_position
</select>
</mapper>