Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
6605d7bf
Commit
6605d7bf
authored
Dec 29, 2021
by
macro
Browse files
Update CommentGenerator.java
parent
facd0049
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java
View file @
6605d7bf
...
...
@@ -36,7 +36,7 @@ public class CommentGenerator extends DefaultCommentGenerator {
public
void
addFieldComment
(
Field
field
,
IntrospectedTable
introspectedTable
,
IntrospectedColumn
introspectedColumn
)
{
String
remarks
=
introspectedColumn
.
getRemarks
();
//根据参数和备注信息判断是否添加
注释
信息
//根据参数和备注信息判断是否添加
swagger注解
信息
if
(
addRemarkComments
&&
StringUtility
.
stringHasValue
(
remarks
)){
// addFieldJavaDoc(field, remarks);
//数据库中特殊字符需要转义
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment