Explorar el Código

fix edit语法

he2802 hace 4 años
padre
commit
868ab68dd5

+ 3 - 3
zhongzheng-generator/src/main/resources/vm/java/editBo.java.vm

@@ -28,11 +28,11 @@ public class ${ClassName}EditBo {
 #if($column.javaType == 'Date')
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
 #end
-#if($column.columnName == 'tenant_id')
-    #continue
-#end
+#if($column.columnName != 'tenant_id')
     private $column.javaType $column.javaField;
 #end
+
+#end
 #end
 #if($table.sub)