Update CommentGenerator.java

This commit is contained in:
macro
2021-12-26 16:51:13 +08:00
parent 13e6db6cd7
commit facd0049fb

View File

@@ -36,7 +36,7 @@ public class CommentGenerator extends DefaultCommentGenerator {
public void addFieldComment(Field field, IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn) {
String remarks = introspectedColumn.getRemarks();
//根据参数和备注信息判断是否添加注信息
//根据参数和备注信息判断是否添加注信息
if(addRemarkComments&&StringUtility.stringHasValue(remarks)){
// addFieldJavaDoc(field, remarks);
//数据库中特殊字符需要转义