1
0
fushengqian 1 жил өмнө
parent
commit
b9c033f66c

+ 1 - 1
fuint-application/src/main/resources/vm/java/model.java.vm

@@ -26,7 +26,7 @@ public class ${modelName} implements Serializable {
 
 #foreach ($column in $columns)
     @ApiModelProperty("$column.comment")
-    #if($column.fild == 'id')
+    #if($column.field == 'id')
     @TableId(value = "ID", type = IdType.AUTO)
     #end
     private $column.type $column.field;