PowerDesigner加载Sql文件生成数据模型,导出word / html(效果更好) 文档
1.打开PowerDesigner后
2.选择对应的数据库:
3.选择加载对应的sql文件
修改PowerDesigner 显示中文注解
1.在工具 > Execute Commands > Edit/Run Script… 或者 Shift + Ctrl + X 输入如下指令就可以将字段备注显示在name列
Option Explicit
ValidationMode = True
InteractiveMode = im_Batch
Dim blankStr
blankStr = Space(1)
Dim mdl ' the current model
' get the current active model
Set mdl = ActiveModel
If (mdl Is Nothing) Then
MsgBox "There is no current Model "
ElseIf Not mdl.IsKindOf(PdPDM.cls_Model) Then
MsgBox "The current model is not an Physical Data model. "
Else
ProcessFolder mdl
End If
Private sub ProcessFolder(folder)
On Error Resume Next
Dim Tab 'running table
for each Tab in folder.tables
if not tab.isShortcut then
tab.name = tab.comment
Dim col ' running column
for each col in tab.columns
if col.comment = "" or replace(col.comment," ", "")="" Then
col.name = blankStr
blankStr = blankStr & Space(1)
else
col.name = col.comment
end if
next
end if
next
Dim view 'running view
for each view in folder.Views
if not view.isShortcut then
view.name = view.comment
end if
next
' go into the sub-packages
Dim f ' running folder
For Each f In folder.Packages
if not f.IsShortcut then
ProcessFolder f
end if
Next
end sub
最终效果如下:
引入导出模板
1.在 PowerDesigner\Resource Files\Report Templates 目录下创建导出模板 “一诺导出模板.rtp”
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{A292E58A-A08E-427C-97E8-A26B8514080B}" Label="" LastModificationDate="1655129489" Legacy="1" ModuleID="PDM" Name="一诺导出模板" Objects="29" Symbols="0" Type="{A6BAC8D1-B730-11D1-8898-00A02455633B}" signature="RPT_TEMPLATE" version="16.5.0.3982"?>
<!-- do not edit this file -->
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
<o:RootObject Id="o1">
<c:Children>
<o:BaseReport Id="o2">
<a:ObjectID>A292E58A-A08E-427C-97E8-A26B8514080B</a:ObjectID>
<a:Name>一诺导出模板</a:Name>
<a:Code>一诺导出模板</a:Code>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:HtmlStylesheetFile>LightBlue_Theme.css</a:HtmlStylesheetFile>
<a:HtmlHeaderFile>Header_LightBlue.html</a:HtmlHeaderFile>
<a:HtmlFooterFile>Footer_LightBlue.html</a:HtmlFooterFile>
<a:HtmlHeaderSize>54</a:HtmlHeaderSize>
<a:HtmlFooterSize>18</a:HtmlFooterSize>
<a:HtmlTOCLevel>4</a:HtmlTOCLevel>
<a:HtmlImageFormat>0</a:HtmlImageFormat>
<a:HtmlHomePageFile>Home_LightBlue.html</a:HtmlHomePageFile>
<a:HtmlTemplate>Light Blue</a:HtmlTemplate>
<a:RtfTemplate>Professional</a:RtfTemplate>
<a:RtfUseSectionHeadFoot>1</a:RtfUseSectionHeadFoot>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o3">
<a:ObjectID>78E8C03F-74B1-470A-813F-90766B539937</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>1</a:FontStyle>
<a:ReportBaseParagraph.Alignment>4</a:ReportBaseParagraph.Alignment>
<a:SpaceBefore>423</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:BorderType>15</a:BorderType>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
<o:ReportParagraph Id="o4">
<a:ObjectID>99B233A6-A785-4016-BDDD-262D571159FB</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:ReportBaseParagraph.Alignment>4</a:ReportBaseParagraph.Alignment>
<a:Box>0</a:Box>
</o:ReportParagraph>
</c:Paragraphs>
<c:Sections>
<o:ReportTemplate Id="o5">
<a:ObjectID>A8E156A2-A9FB-4730-81C5-B56165914C14</a:ObjectID>
<a:Name>一诺导出模板</a:Name>
<a:CreationDate>1655116821</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655128798</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>TEMPLATE</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:Margin>((800,900), (1100,900))</a:Margin>
<a:ReportTemplate.PaperSize>(21000, 29700)</a:ReportTemplate.PaperSize>
<a:UserDefinedFooter>1</a:UserDefinedFooter>
<a:UserDefinedHeader>1</a:UserDefinedHeader>
<c:Items>
<o:BookTitleReportItem Id="o6">
<a:ObjectID>598B4F78-FFB5-49DE-A213-14850D9DE967</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemTOCEntry>1</a:ItemTOCEntry>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_DIAG_TITLE</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:DefaultTitle>Diagram %ITEM%</a:DefaultTitle>
<a:DefaultTitleFromResource>Diagram %ITEM%</a:DefaultTitleFromResource>
<a:Title>数据模型</a:Title>
<a:UserDefined>1</a:UserDefined>
<a:BookReportItem.CollectionName>AllDiagrams</a:BookReportItem.CollectionName>
<c:Items>
<o:UserGraphicReportItem Id="o7">
<a:ObjectID>B3940869-6077-4C9D-82AC-2E88C5E5A4DF</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_GRAPHIC</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:GraphicsFormat>1</a:GraphicsFormat>
<a:OnePageType>1</a:OnePageType>
<a:ZoomFactor>84</a:ZoomFactor>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o8">
<a:ObjectID>F1E9D84B-0066-4B68-88D7-63036B899168</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:ReportBaseParagraph.Alignment>4</a:ReportBaseParagraph.Alignment>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
</c:Paragraphs>
</o:UserGraphicReportItem>
<o:ListReportItem Id="o9">
<a:ObjectID>0F2BC742-BEA7-4E9E-B586-61A7D3845813</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemTOCEntry>1</a:ItemTOCEntry>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_DIAG_TABL_LIST</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:DefaultTitle>List of tables in diagram</a:DefaultTitle>
<a:DefaultTitleFromResource>List of tables in diagram</a:DefaultTitleFromResource>
<a:Title>List of tables in diagram</a:Title>
<a:Sorted>1</a:Sorted>
<a:ListReportItem.Layout>-50 Name
-50 Code
</a:ListReportItem.Layout>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o10">
<a:ObjectID>68FE18BD-54B1-44A7-B737-7C4F4459FD4A</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>5</a:FontStyle>
<a:SpaceBefore>353</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
<o:ReportTitleParagraph Id="o11">
<a:ObjectID>F0C5A8AB-88EE-4DB8-9825-099C1D9CC6FD</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>2</a:FontStyle>
<a:ReportBaseParagraph.Alignment>4</a:ReportBaseParagraph.Alignment>
<a:BorderType>1</a:BorderType>
<a:ParagraphInTable>1</a:ParagraphInTable>
</o:ReportTitleParagraph>
<o:ReportParagraph Id="o12">
<a:ObjectID>194B0C21-A95B-43FA-9BBE-0894B6A5ACE6</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:BorderType>1</a:BorderType>
<a:ParagraphInTable>1</a:ParagraphInTable>
</o:ReportParagraph>
</c:Paragraphs>
<c:Rows>
<o:ListRowDefinition Id="o13">
<a:ObjectID>D4928025-1AA3-4859-8AAF-AB9E0EFC2F48</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
</o:ListRowDefinition>
</c:Rows>
</o:ListReportItem>
<o:BookTitleReportItem Id="o14">
<a:ObjectID>57DD7CAF-C942-4487-8173-89D38615BE55</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemTOCEntry>1</a:ItemTOCEntry>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_TABL_TITLE</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:DefaultTitle>Table %ITEM%</a:DefaultTitle>
<a:DefaultTitleFromResource>Table %ITEM%</a:DefaultTitleFromResource>
<a:Title>%ITEM%表</a:Title>
<a:UserDefined>1</a:UserDefined>
<a:BookReportItem.CollectionName>DisplayedObjects</a:BookReportItem.CollectionName>
<c:Items>
<o:ListReportItem Id="o15">
<a:ObjectID>531E5106-278A-4DA9-8563-FE95BB83C5CA</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemTOCEntry>1</a:ItemTOCEntry>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_TABL_COLN_LIST</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:DefaultTitle>List of columns of the table %PARENT%</a:DefaultTitle>
<a:DefaultTitleFromResource>List of columns of the table %PARENT%</a:DefaultTitleFromResource>
<a:Title>%PARENT%字段列表</a:Title>
<a:UserDefined>1</a:UserDefined>
<a:ListReportItem.CollectionName>Columns</a:ListReportItem.CollectionName>
<a:Sorted>1</a:Sorted>
<a:ListReportItem.Layout>-50 Name
-50 Code
50 DataType
50 DefaultValue
</a:ListReportItem.Layout>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o16">
<a:ObjectID>D36D9AD1-9186-4215-AA4D-F6D0CA112BD5</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>5</a:FontStyle>
<a:SpaceBefore>353</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
<o:ReportTitleParagraph Id="o17">
<a:ObjectID>42228361-0B6C-40D6-883E-51E690955524</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>2</a:FontStyle>
<a:ReportBaseParagraph.Alignment>4</a:ReportBaseParagraph.Alignment>
<a:BorderType>1</a:BorderType>
<a:ParagraphInTable>1</a:ParagraphInTable>
</o:ReportTitleParagraph>
<o:ReportParagraph Id="o18">
<a:ObjectID>F0D62AEC-ED58-4651-87AB-92193EF898BB</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:BorderType>11</a:BorderType>
<a:ParagraphInTable>1</a:ParagraphInTable>
</o:ReportParagraph>
</c:Paragraphs>
<c:Rows>
<o:ListRowDefinition Id="o19">
<a:ObjectID>29AA824B-3037-49C8-9B40-6F01BE487E56</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
</o:ListRowDefinition>
</c:Rows>
</o:ListReportItem>
<o:AttributeTextReportItem Id="o20">
<a:ObjectID>8020D1FC-A8DB-4DFD-8D4C-E6C9C60DF31E</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ItemTOCEntry>1</a:ItemTOCEntry>
<a:ItemInTemplate>1</a:ItemInTemplate>
<a:ItemRegistrationID>PDM_TABL_PREV</a:ItemRegistrationID>
<a:ItemModuleID>PDM</a:ItemModuleID>
<a:DefaultTitle>Code preview of the table %ITEM%</a:DefaultTitle>
<a:DefaultTitleFromResource>Code preview of the table %ITEM%</a:DefaultTitleFromResource>
<a:Title>%ITEM% 的创建SQL</a:Title>
<a:UserDefined>1</a:UserDefined>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o21">
<a:ObjectID>42E5C99F-6634-43E5-8F10-922BB9285592</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>5</a:FontStyle>
<a:SpaceBefore>353</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
<o:ReportParagraph Id="o22">
<a:ObjectID>8A47B119-1B22-45F1-8887-C96011D57A12</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:Box>0</a:Box>
</o:ReportParagraph>
</c:Paragraphs>
</o:AttributeTextReportItem>
</c:Items>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o23">
<a:ObjectID>254EA988-63BC-4EF8-BB93-692E77939D78</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>5</a:FontStyle>
<a:SpaceBefore>353</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
</c:Paragraphs>
</o:BookTitleReportItem>
</c:Items>
<c:Paragraphs>
<o:ReportTitleParagraph Id="o24">
<a:ObjectID>6258F238-75F1-4008-8131-C7D87CF74C93</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>新宋体</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:FontStyle>5</a:FontStyle>
<a:SpaceBefore>353</a:SpaceBefore>
<a:SpaceAfter>106</a:SpaceAfter>
<a:Box>0</a:Box>
</o:ReportTitleParagraph>
</c:Paragraphs>
</o:BookTitleReportItem>
</c:Items>
<c:Paragraphs>
<o:ReportHeaderParagraph Id="o25">
<a:ObjectID>CCD88661-C912-435F-AD34-A0A5BCEED1D7</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:BorderType>8</a:BorderType>
<a:Box>0</a:Box>
<c:Tabulations>
<o:ReportTabulation Id="o26">
<a:ObjectID>2EC9AB5F-B69D-4C29-9ABA-FA9C723851A8</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportTabulation.Position>19100</a:ReportTabulation.Position>
<a:Alignment>3</a:Alignment>
</o:ReportTabulation>
</c:Tabulations>
</o:ReportHeaderParagraph>
<o:ReportFooterParagraph Id="o27">
<a:ObjectID>EFE2EEE5-C87E-45CA-B14E-9E4215DDA0DF</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportBaseParagraph.FontName>Microsoft Sans Serif</a:ReportBaseParagraph.FontName>
<a:FontHeight>10</a:FontHeight>
<a:BorderType>2</a:BorderType>
<a:Box>0</a:Box>
<c:Tabulations>
<o:ReportTabulation Id="o28">
<a:ObjectID>0AE12D3A-EDAE-45A6-93CC-1BA379417A1E</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportTabulation.Position>9550</a:ReportTabulation.Position>
<a:Alignment>2</a:Alignment>
</o:ReportTabulation>
<o:ReportTabulation Id="o29">
<a:ObjectID>5E514738-608B-4888-B35A-1E628D4D3C34</a:ObjectID>
<a:CreationDate>1655129489</a:CreationDate>
<a:Creator>liangcan</a:Creator>
<a:ModificationDate>1655129489</a:ModificationDate>
<a:Modifier>liangcan</a:Modifier>
<a:ReportTabulation.Position>19100</a:ReportTabulation.Position>
<a:Alignment>3</a:Alignment>
</o:ReportTabulation>
</c:Tabulations>
</o:ReportFooterParagraph>
</c:Paragraphs>
</o:ReportTemplate>
</c:Sections>
</o:BaseReport>
</c:Children>
</o:RootObject>
</Model>
2.在 PowerDesigner\Resource Files\Report Templates 目录下创建导入模板 “一诺导出模板.rtp”
3.选择刚刚导入模板 “一诺导出模板.rtp”