Commit 53b19b82 authored by Quxl's avatar Quxl

x

parent 88089064
...@@ -78,7 +78,7 @@ public class ReverseUtil { ...@@ -78,7 +78,7 @@ public class ReverseUtil {
if(StringUtil.contains(paramyKeys.toArray(new String[paramyKeys.size()]), columnName)) { if(StringUtil.contains(paramyKeys.toArray(new String[paramyKeys.size()]), columnName)) {
sbuffer.append("\t@Id" + "\n"); sbuffer.append("\t@Id" + "\n");
} }
sbuffer.append("\t@Column(columnDefinition=\"" + colTypes.get(i) + (StringUtil.isNotBlank(columnComments.get(i)) ? " COMMENT '" + columnComments.get(i) : "") + "'\")" + "\n"); sbuffer.append("\t@Column(columnDefinition=\"" + colTypes.get(i) + (StringUtil.isNotBlank(columnComments.get(i)) ? (" COMMENT '" + columnComments.get(i) + "'") : "") + "\")\n");
sbuffer.append("\tprivate " + sqlType2JavaType(colTypes.get(i)) + " " + columnName + ";" + "\n\n"); sbuffer.append("\tprivate " + sqlType2JavaType(colTypes.get(i)) + " " + columnName + ";" + "\n\n");
} }
sbuffer.append("\n"); sbuffer.append("\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