疯狂的狮子Li
2024-08-26 098d3347a0df808908aab8c554cd7c4febc5e6d9
ruoyi-modules/ruoyi-generator/src/main/resources/vm/ts/types.ts.vm
@@ -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,10 +41,7 @@
}
export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{
  /**
   * 日期范围参数
   */
  params?: any;
#foreach ($column in $columns)
#if($column.query)
  /**
@@ -45,6 +54,10 @@
                    #end
#end
#end
    /**
     * 日期范围参数
     */
    params?: any;
}