疯狂的狮子Li
2024-08-26 098d3347a0df808908aab8c554cd7c4febc5e6d9
ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm
@@ -1,6 +1,6 @@
export interface ${BusinessName}VO {
#foreach ($column in $columns)
#if($column.insert || $column.edit)
#if($column.list)
  /**
   * $column.columnComment
   */
@@ -9,7 +9,19 @@
                        #elseif($column.javaType == 'Boolean') boolean;
                        #else string;
                    #end
#if($column.htmlType == "imageUpload")
  /**
   * ${column.columnComment}Url
   */
  ${column.javaField}Url: string;
#end
#end
#end
#if ($table.tree)
    /**
     * 子对象
     */
    children: ${BusinessName}VO[];
#end
}
@@ -29,6 +41,7 @@
}
export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{
#foreach ($column in $columns)
#if($column.query)
  /**
@@ -41,4 +54,11 @@
                    #end
#end
#end
    /**
     * 日期范围参数
     */
    params?: any;
}