Commit f4493c40 authored by fangzhipeng's avatar fangzhipeng

.

parent e13d6cd8
......@@ -51,6 +51,14 @@ public class MySQLCommentGenerator extends EmptyCommentGenerator {
method.addJavaDocLine(" */");
}
@Override
public void addGeneralMethodComment(Method method, IntrospectedTable introspectedTable) {
method.addJavaDocLine("/**");
method.addJavaDocLine(" * This field was generated by MyBatis Generator, do not modify.");
method.addJavaDocLine(" * @mbg.generated");
method.addJavaDocLine(" */");
}
@Override
public void addComment(XmlElement xmlElement) {
xmlElement.addElement(new TextElement("<!--\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment