使用freemarker插入多行数据到word中

使用freemarker向word中插入多列表格,需要以下条件

1)需要在模板中加入<#list listTest as listKey>标签,标识插入多行

 1 <#-- 由于要插入多行数据,使用这个标签标识 -->
 2 <#list listTest as listKey>
 3 <w:tr w:rsidR="00B137A1" w:rsidTr="00B137A1">
 4     <w:tc>
 5         <w:tcPr>
 6             <w:tcW w:w="2840" w:type="dxa"/>
 7         </w:tcPr>
 8         <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
 9             <w:r w:rsidRPr="00DE3654">
10                 <w:t>${listKey.id}</w:t>
11             </w:r>
12         </w:p>
13     </w:tc>
14     <w:tc>
15         <w:tcPr>
16             <w:tcW w:w="2841" w:type="dxa"/>
17         </w:tcPr>
18         <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
19             <w:r w:rsidRPr="00DE3654">
20                 <w:t>${listKey.guid}</w:t>
21             </w:r>
22         </w:p>
23     </w:tc>
24     <w:tc>
25         <w:tcPr>
26             <w:tcW w:w="2841" w:type="dxa"/>
27         </w:tcPr>
28         <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
29             <w:r w:rsidRPr="00DE3654">
30                 <w:t>${listKey.createdate}</w:t>
31             </w:r>
32         </w:p>
33     </w:tc>
34 </w:tr>
35 </#list>

表格部分代码

   1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   2 <?mso-application progid="Word.Document"?>
   3 <pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage">
   4     <pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml"
   5               pkg:padding="512">
   6         <pkg:xmlData>
   7             <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
   8                 <Relationship Id="rId3"
   9                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"
  10                               Target="docProps/app.xml"/>
  11                 <Relationship Id="rId2"
  12                               Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"
  13                               Target="docProps/core.xml"/>
  14                 <Relationship Id="rId1"
  15                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
  16                               Target="word/document.xml"/>
  17             </Relationships>
  18         </pkg:xmlData>
  19     </pkg:part>
  20     <pkg:part pkg:name="/word/_rels/document.xml.rels"
  21               pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="256">
  22         <pkg:xmlData>
  23             <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  24                 <Relationship Id="rId3"
  25                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings"
  26                               Target="settings.xml"/>
  27                 <Relationship Id="rId2" Type="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects"
  28                               Target="stylesWithEffects.xml"/>
  29                 <Relationship Id="rId1"
  30                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
  31                               Target="styles.xml"/>
  32                 <Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
  33                               Target="theme/theme1.xml"/>
  34                 <Relationship Id="rId5"
  35                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable"
  36                               Target="fontTable.xml"/>
  37                 <Relationship Id="rId4"
  38                               Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings"
  39                               Target="webSettings.xml"/>
  40             </Relationships>
  41         </pkg:xmlData>
  42     </pkg:part>
  43     <pkg:part pkg:name="/word/document.xml"
  44               pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml">
  45         <pkg:xmlData>
  46             <w:document mc:Ignorable="w14 wp14"
  47                         xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
  48                         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  49                         xmlns:o="urn:schemas-microsoft-com:office:office"
  50                         xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
  51                         xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
  52                         xmlns:v="urn:schemas-microsoft-com:vml"
  53                         xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
  54                         xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
  55                         xmlns:w10="urn:schemas-microsoft-com:office:word"
  56                         xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
  57                         xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
  58                         xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
  59                         xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
  60                         xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
  61                         xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">
  62                 <w:body>
  63                     <w:tbl>
  64                         <w:tblPr>
  65                             <w:tblStyle w:val="a3"/>
  66                             <w:tblW w:w="0" w:type="auto"/>
  67                             <w:tblLook w:val="04A0" w:firstRow="1" w:lastRow="0" w:firstColumn="1" w:lastColumn="0"
  68                                        w:noHBand="0" w:noVBand="1"/>
  69                         </w:tblPr>
  70                         <w:tblGrid>
  71                             <w:gridCol w:w="2840"/>
  72                             <w:gridCol w:w="2841"/>
  73                             <w:gridCol w:w="2841"/>
  74                         </w:tblGrid>
  75                         <w:tr w:rsidR="00B137A1" w:rsidTr="00B137A1">
  76                             <w:tc>
  77                                 <w:tcPr>
  78                                     <w:tcW w:w="2840" w:type="dxa"/>
  79                                 </w:tcPr>
  80                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00B137A1">
  81                                     <w:r>
  82                                         <w:t>I</w:t>
  83                                     </w:r>
  84                                     <w:r>
  85                                         <w:rPr>
  86                                             <w:rFonts w:hint="eastAsia"/>
  87                                         </w:rPr>
  88                                         <w:t>D</w:t>
  89                                     </w:r>
  90                                 </w:p>
  91                             </w:tc>
  92                             <w:tc>
  93                                 <w:tcPr>
  94                                     <w:tcW w:w="2841" w:type="dxa"/>
  95                                 </w:tcPr>
  96                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00B137A1">
  97                                     <w:r>
  98                                         <w:rPr>
  99                                             <w:rFonts w:hint="eastAsia"/>
 100                                         </w:rPr>
 101                                         <w:t>GUID</w:t>
 102                                     </w:r>
 103                                 </w:p>
 104                             </w:tc>
 105                             <w:tc>
 106                                 <w:tcPr>
 107                                     <w:tcW w:w="2841" w:type="dxa"/>
 108                                 </w:tcPr>
 109                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00B137A1">
 110                                     <w:r>
 111                                         <w:rPr>
 112                                             <w:rFonts w:hint="eastAsia"/>
 113                                         </w:rPr>
 114                                         <w:t>CREATEDATE</w:t>
 115                                     </w:r>
 116                                 </w:p>
 117                             </w:tc>
 118                         </w:tr>
 119                         <#-- 由于要插入多行数据,使用这个标签标识 -->
 120                         <#list listTest as listKey>
 121                         <w:tr w:rsidR="00B137A1" w:rsidTr="00B137A1">
 122                             <w:tc>
 123                                 <w:tcPr>
 124                                     <w:tcW w:w="2840" w:type="dxa"/>
 125                                 </w:tcPr>
 126                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
 127                                     <w:r w:rsidRPr="00DE3654">
 128                                         <w:t>${listKey.id}</w:t>
 129                                     </w:r>
 130                                 </w:p>
 131                             </w:tc>
 132                             <w:tc>
 133                                 <w:tcPr>
 134                                     <w:tcW w:w="2841" w:type="dxa"/>
 135                                 </w:tcPr>
 136                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
 137                                     <w:r w:rsidRPr="00DE3654">
 138                                         <w:t>${listKey.guid}</w:t>
 139                                     </w:r>
 140                                 </w:p>
 141                             </w:tc>
 142                             <w:tc>
 143                                 <w:tcPr>
 144                                     <w:tcW w:w="2841" w:type="dxa"/>
 145                                 </w:tcPr>
 146                                 <w:p w:rsidR="00B137A1" w:rsidRDefault="00DE3654" w:rsidP="00DE3654">
 147                                     <w:r w:rsidRPr="00DE3654">
 148                                         <w:t>${listKey.createdate}</w:t>
 149                                     </w:r>
 150                                 </w:p>
 151                             </w:tc>
 152                         </w:tr>
 153                     </#list>
 154                     </w:tbl>
 155                     <w:p w:rsidR="00706DC5" w:rsidRDefault="00DE3654"/>
 156                     <w:sectPr w:rsidR="00706DC5">
 157                         <w:pgSz w:w="11906" w:h="16838"/>
 158                         <w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851" w:footer="992"
 159                                  w:gutter="0"/>
 160                         <w:cols w:space="425"/>
 161                         <w:docGrid w:type="lines" w:linePitch="312"/>
 162                     </w:sectPr>
 163                 </w:body>
 164             </w:document>
 165         </pkg:xmlData>
 166     </pkg:part>
 167     <pkg:part pkg:name="/word/theme/theme1.xml"
 168               pkg:contentType="application/vnd.openxmlformats-officedocument.theme+xml">
 169         <pkg:xmlData>
 170             <a:theme name="Office 主题??" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
 171                 <a:themeElements>
 172                     <a:clrScheme name="Office">
 173                         <a:dk1>
 174                             <a:sysClr val="windowText" lastClr="000000"/>
 175                         </a:dk1>
 176                         <a:lt1>
 177                             <a:sysClr val="window" lastClr="FFFFFF"/>
 178                         </a:lt1>
 179                         <a:dk2>
 180                             <a:srgbClr val="1F497D"/>
 181                         </a:dk2>
 182                         <a:lt2>
 183                             <a:srgbClr val="EEECE1"/>
 184                         </a:lt2>
 185                         <a:accent1>
 186                             <a:srgbClr val="4F81BD"/>
 187                         </a:accent1>
 188                         <a:accent2>
 189                             <a:srgbClr val="C0504D"/>
 190                         </a:accent2>
 191                         <a:accent3>
 192                             <a:srgbClr val="9BBB59"/>
 193                         </a:accent3>
 194                         <a:accent4>
 195                             <a:srgbClr val="8064A2"/>
 196                         </a:accent4>
 197                         <a:accent5>
 198                             <a:srgbClr val="4BACC6"/>
 199                         </a:accent5>
 200                         <a:accent6>
 201                             <a:srgbClr val="F79646"/>
 202                         </a:accent6>
 203                         <a:hlink>
 204                             <a:srgbClr val="0000FF"/>
 205                         </a:hlink>
 206                         <a:folHlink>
 207                             <a:srgbClr val="800080"/>
 208                         </a:folHlink>
 209                     </a:clrScheme>
 210                     <a:fontScheme name="Office">
 211                         <a:majorFont>
 212                             <a:latin typeface="Cambria"/>
 213                             <a:ea typeface=""/>
 214                             <a:cs typeface=""/>
 215                             <a:font script="Jpan" typeface="MS ゴシック"/>
 216                             <a:font script="Hang" typeface="?? ??"/>
 217                             <a:font script="Hans" typeface="宋体"/>
 218                             <a:font script="Hant" typeface="新細明體"/>
 219                             <a:font script="Arab" typeface="Times New Roman"/>
 220                             <a:font script="Hebr" typeface="Times New Roman"/>
 221                             <a:font script="Thai" typeface="Angsana New"/>
 222                             <a:font script="Ethi" typeface="Nyala"/>
 223                             <a:font script="Beng" typeface="Vrinda"/>
 224                             <a:font script="Gujr" typeface="Shruti"/>
 225                             <a:font script="Khmr" typeface="MoolBoran"/>
 226                             <a:font script="Knda" typeface="Tunga"/>
 227                             <a:font script="Guru" typeface="Raavi"/>
 228                             <a:font script="Cans" typeface="Euphemia"/>
 229                             <a:font script="Cher" typeface="Plantagenet Cherokee"/>
 230                             <a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
 231                             <a:font script="Tibt" typeface="Microsoft Himalaya"/>
 232                             <a:font script="Thaa" typeface="MV Boli"/>
 233                             <a:font script="Deva" typeface="Mangal"/>
 234                             <a:font script="Telu" typeface="Gautami"/>
 235                             <a:font script="Taml" typeface="Latha"/>
 236                             <a:font script="Syrc" typeface="Estrangelo Edessa"/>
 237                             <a:font script="Orya" typeface="Kalinga"/>
 238                             <a:font script="Mlym" typeface="Kartika"/>
 239                             <a:font script="Laoo" typeface="DokChampa"/>
 240                             <a:font script="Sinh" typeface="Iskoola Pota"/>
 241                             <a:font script="Mong" typeface="Mongolian Baiti"/>
 242                             <a:font script="Viet" typeface="Times New Roman"/>
 243                             <a:font script="Uigh" typeface="Microsoft Uighur"/>
 244                             <a:font script="Geor" typeface="Sylfaen"/>
 245                         </a:majorFont>
 246                         <a:minorFont>
 247                             <a:latin typeface="Calibri"/>
 248                             <a:ea typeface=""/>
 249                             <a:cs typeface=""/>
 250                             <a:font script="Jpan" typeface="MS 明朝"/>
 251                             <a:font script="Hang" typeface="?? ??"/>
 252                             <a:font script="Hans" typeface="宋体"/>
 253                             <a:font script="Hant" typeface="新細明體"/>
 254                             <a:font script="Arab" typeface="Arial"/>
 255                             <a:font script="Hebr" typeface="Arial"/>
 256                             <a:font script="Thai" typeface="Cordia New"/>
 257                             <a:font script="Ethi" typeface="Nyala"/>
 258                             <a:font script="Beng" typeface="Vrinda"/>
 259                             <a:font script="Gujr" typeface="Shruti"/>
 260                             <a:font script="Khmr" typeface="DaunPenh"/>
 261                             <a:font script="Knda" typeface="Tunga"/>
 262                             <a:font script="Guru" typeface="Raavi"/>
 263                             <a:font script="Cans" typeface="Euphemia"/>
 264                             <a:font script="Cher" typeface="Plantagenet Cherokee"/>
 265                             <a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
 266                             <a:font script="Tibt" typeface="Microsoft Himalaya"/>
 267                             <a:font script="Thaa" typeface="MV Boli"/>
 268                             <a:font script="Deva" typeface="Mangal"/>
 269                             <a:font script="Telu" typeface="Gautami"/>
 270                             <a:font script="Taml" typeface="Latha"/>
 271                             <a:font script="Syrc" typeface="Estrangelo Edessa"/>
 272                             <a:font script="Orya" typeface="Kalinga"/>
 273                             <a:font script="Mlym" typeface="Kartika"/>
 274                             <a:font script="Laoo" typeface="DokChampa"/>
 275                             <a:font script="Sinh" typeface="Iskoola Pota"/>
 276                             <a:font script="Mong" typeface="Mongolian Baiti"/>
 277                             <a:font script="Viet" typeface="Arial"/>
 278                             <a:font script="Uigh" typeface="Microsoft Uighur"/>
 279                             <a:font script="Geor" typeface="Sylfaen"/>
 280                         </a:minorFont>
 281                     </a:fontScheme>
 282                     <a:fmtScheme name="Office">
 283                         <a:fillStyleLst>
 284                             <a:solidFill>
 285                                 <a:schemeClr val="phClr"/>
 286                             </a:solidFill>
 287                             <a:gradFill rotWithShape="1">
 288                                 <a:gsLst>
 289                                     <a:gs pos="0">
 290                                         <a:schemeClr val="phClr">
 291                                             <a:tint val="50000"/>
 292                                             <a:satMod val="300000"/>
 293                                         </a:schemeClr>
 294                                     </a:gs>
 295                                     <a:gs pos="35000">
 296                                         <a:schemeClr val="phClr">
 297                                             <a:tint val="37000"/>
 298                                             <a:satMod val="300000"/>
 299                                         </a:schemeClr>
 300                                     </a:gs>
 301                                     <a:gs pos="100000">
 302                                         <a:schemeClr val="phClr">
 303                                             <a:tint val="15000"/>
 304                                             <a:satMod val="350000"/>
 305                                         </a:schemeClr>
 306                                     </a:gs>
 307                                 </a:gsLst>
 308                                 <a:lin ang="16200000" scaled="1"/>
 309                             </a:gradFill>
 310                             <a:gradFill rotWithShape="1">
 311                                 <a:gsLst>
 312                                     <a:gs pos="0">
 313                                         <a:schemeClr val="phClr">
 314                                             <a:shade val="51000"/>
 315                                             <a:satMod val="130000"/>
 316                                         </a:schemeClr>
 317                                     </a:gs>
 318                                     <a:gs pos="80000">
 319                                         <a:schemeClr val="phClr">
 320                                             <a:shade val="93000"/>
 321                                             <a:satMod val="130000"/>
 322                                         </a:schemeClr>
 323                                     </a:gs>
 324                                     <a:gs pos="100000">
 325                                         <a:schemeClr val="phClr">
 326                                             <a:shade val="94000"/>
 327                                             <a:satMod val="135000"/>
 328                                         </a:schemeClr>
 329                                     </a:gs>
 330                                 </a:gsLst>
 331                                 <a:lin ang="16200000" scaled="0"/>
 332                             </a:gradFill>
 333                         </a:fillStyleLst>
 334                         <a:lnStyleLst>
 335                             <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr">
 336                                 <a:solidFill>
 337                                     <a:schemeClr val="phClr">
 338                                         <a:shade val="95000"/>
 339                                         <a:satMod val="105000"/>
 340                                     </a:schemeClr>
 341                                 </a:solidFill>
 342                                 <a:prstDash val="solid"/>
 343                             </a:ln>
 344                             <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr">
 345                                 <a:solidFill>
 346                                     <a:schemeClr val="phClr"/>
 347                                 </a:solidFill>
 348                                 <a:prstDash val="solid"/>
 349                             </a:ln>
 350                             <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr">
 351                                 <a:solidFill>
 352                                     <a:schemeClr val="phClr"/>
 353                                 </a:solidFill>
 354                                 <a:prstDash val="solid"/>
 355                             </a:ln>
 356                         </a:lnStyleLst>
 357                         <a:effectStyleLst>
 358                             <a:effectStyle>
 359                                 <a:effectLst>
 360                                     <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0">
 361                                         <a:srgbClr val="000000">
 362                                             <a:alpha val="38000"/>
 363                                         </a:srgbClr>
 364                                     </a:outerShdw>
 365                                 </a:effectLst>
 366                             </a:effectStyle>
 367                             <a:effectStyle>
 368                                 <a:effectLst>
 369                                     <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
 370                                         <a:srgbClr val="000000">
 371                                             <a:alpha val="35000"/>
 372                                         </a:srgbClr>
 373                                     </a:outerShdw>
 374                                 </a:effectLst>
 375                             </a:effectStyle>
 376                             <a:effectStyle>
 377                                 <a:effectLst>
 378                                     <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
 379                                         <a:srgbClr val="000000">
 380                                             <a:alpha val="35000"/>
 381                                         </a:srgbClr>
 382                                     </a:outerShdw>
 383                                 </a:effectLst>
 384                                 <a:scene3d>
 385                                     <a:camera prst="orthographicFront">
 386                                         <a:rot lat="0" lon="0" rev="0"/>
 387                                     </a:camera>
 388                                     <a:lightRig rig="threePt" dir="t">
 389                                         <a:rot lat="0" lon="0" rev="1200000"/>
 390                                     </a:lightRig>
 391                                 </a:scene3d>
 392                                 <a:sp3d>
 393                                     <a:bevelT w="63500" h="25400"/>
 394                                 </a:sp3d>
 395                             </a:effectStyle>
 396                         </a:effectStyleLst>
 397                         <a:bgFillStyleLst>
 398                             <a:solidFill>
 399                                 <a:schemeClr val="phClr"/>
 400                             </a:solidFill>
 401                             <a:gradFill rotWithShape="1">
 402                                 <a:gsLst>
 403                                     <a:gs pos="0">
 404                                         <a:schemeClr val="phClr">
 405                                             <a:tint val="40000"/>
 406                                             <a:satMod val="350000"/>
 407                                         </a:schemeClr>
 408                                     </a:gs>
 409                                     <a:gs pos="40000">
 410                                         <a:schemeClr val="phClr">
 411                                             <a:tint val="45000"/>
 412                                             <a:shade val="99000"/>
 413                                             <a:satMod val="350000"/>
 414                                         </a:schemeClr>
 415                                     </a:gs>
 416                                     <a:gs pos="100000">
 417                                         <a:schemeClr val="phClr">
 418                                             <a:shade val="20000"/>
 419                                             <a:satMod val="255000"/>
 420                                         </a:schemeClr>
 421                                     </a:gs>
 422                                 </a:gsLst>
 423                                 <a:path path="circle">
 424                                     <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/>
 425                                 </a:path>
 426                             </a:gradFill>
 427                             <a:gradFill rotWithShape="1">
 428                                 <a:gsLst>
 429                                     <a:gs pos="0">
 430                                         <a:schemeClr val="phClr">
 431                                             <a:tint val="80000"/>
 432                                             <a:satMod val="300000"/>
 433                                         </a:schemeClr>
 434                                     </a:gs>
 435                                     <a:gs pos="100000">
 436                                         <a:schemeClr val="phClr">
 437                                             <a:shade val="30000"/>
 438                                             <a:satMod val="200000"/>
 439                                         </a:schemeClr>
 440                                     </a:gs>
 441                                 </a:gsLst>
 442                                 <a:path path="circle">
 443                                     <a:fillToRect l="50000" t="50000" r="50000" b="50000"/>
 444                                 </a:path>
 445                             </a:gradFill>
 446                         </a:bgFillStyleLst>
 447                     </a:fmtScheme>
 448                 </a:themeElements>
 449                 <a:objectDefaults/>
 450                 <a:extraClrSchemeLst/>
 451             </a:theme>
 452         </pkg:xmlData>
 453     </pkg:part>
 454     <pkg:part pkg:name="/word/settings.xml"
 455               pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml">
 456         <pkg:xmlData>
 457             <w:settings mc:Ignorable="w14" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 458                         xmlns:o="urn:schemas-microsoft-com:office:office"
 459                         xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
 460                         xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
 461                         xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word"
 462                         xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
 463                         xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
 464                         xmlns:sl="http://schemas.openxmlformats.org/schemaLibrary/2006/main">
 465                 <w:zoom w:percent="100"/>
 466                 <w:bordersDoNotSurroundHeader/>
 467                 <w:bordersDoNotSurroundFooter/>
 468                 <w:defaultTabStop w:val="420"/>
 469                 <w:drawingGridVerticalSpacing w:val="156"/>
 470                 <w:displayHorizontalDrawingGridEvery w:val="0"/>
 471                 <w:displayVerticalDrawingGridEvery w:val="2"/>
 472                 <w:characterSpacingControl w:val="compressPunctuation"/>
 473                 <w:compat>
 474                     <w:spaceForUL/>
 475                     <w:balanceSingleByteDoubleByteWidth/>
 476                     <w:doNotLeaveBackslashAlone/>
 477                     <w:ulTrailSpace/>
 478                     <w:doNotExpandShiftReturn/>
 479                     <w:adjustLineHeightInTable/>
 480                     <w:useFELayout/>
 481                     <w:compatSetting w:name="compatibilityMode" w:uri="http://schemas.microsoft.com/office/word"
 482                                      w:val="14"/>
 483                     <w:compatSetting w:name="overrideTableStyleFontSizeAndJustification"
 484                                      w:uri="http://schemas.microsoft.com/office/word" w:val="1"/>
 485                     <w:compatSetting w:name="enableOpenTypeFeatures" w:uri="http://schemas.microsoft.com/office/word"
 486                                      w:val="1"/>
 487                     <w:compatSetting w:name="doNotFlipMirrorIndents" w:uri="http://schemas.microsoft.com/office/word"
 488                                      w:val="1"/>
 489                 </w:compat>
 490                 <w:rsids>
 491                     <w:rsidRoot w:val="00B137A1"/>
 492                     <w:rsid w:val="004F3264"/>
 493                     <w:rsid w:val="00B137A1"/>
 494                     <w:rsid w:val="00DE3654"/>
 495                     <w:rsid w:val="00DF20FE"/>
 496                 </w:rsids>
 497                 <m:mathPr>
 498                     <m:mathFont m:val="Cambria Math"/>
 499                     <m:brkBin m:val="before"/>
 500                     <m:brkBinSub m:val="--"/>
 501                     <m:smallFrac m:val="0"/>
 502                     <m:dispDef/>
 503                     <m:lMargin m:val="0"/>
 504                     <m:rMargin m:val="0"/>
 505                     <m:defJc m:val="centerGroup"/>
 506                     <m:wrapIndent m:val="1440"/>
 507                     <m:intLim m:val="subSup"/>
 508                     <m:naryLim m:val="undOvr"/>
 509                 </m:mathPr>
 510                 <w:themeFontLang w:val="en-US" w:eastAsia="zh-CN"/>
 511                 <w:clrSchemeMapping w:bg1="light1" w:t1="dark1" w:bg2="light2" w:t2="dark2" w:accent1="accent1"
 512                                     w:accent2="accent2" w:accent3="accent3" w:accent4="accent4" w:accent5="accent5"
 513                                     w:accent6="accent6" w:hyperlink="hyperlink"
 514                                     w:followedHyperlink="followedHyperlink"/>
 515                 <w:shapeDefaults>
 516                     <o:shapedefaults v:ext="edit" spidmax="1026"/>
 517                     <o:shapelayout v:ext="edit">
 518                         <o:idmap v:ext="edit" data="1"/>
 519                     </o:shapelayout>
 520                 </w:shapeDefaults>
 521                 <w:decimalSymbol w:val="."/>
 522                 <w:listSeparator w:val=","/>
 523             </w:settings>
 524         </pkg:xmlData>
 525     </pkg:part>
 526     <pkg:part pkg:name="/word/webSettings.xml"
 527               pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml">
 528         <pkg:xmlData>
 529             <w:webSettings mc:Ignorable="w14" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 530                            xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
 531                            xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
 532                            xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml">
 533                 <w:optimizeForBrowser/>
 534                 <w:allowPNG/>
 535             </w:webSettings>
 536         </pkg:xmlData>
 537     </pkg:part>
 538     <pkg:part pkg:name="/word/stylesWithEffects.xml" pkg:contentType="application/vnd.ms-word.stylesWithEffects+xml">
 539         <pkg:xmlData>
 540             <w:styles mc:Ignorable="w14 wp14"
 541                       xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
 542                       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 543                       xmlns:o="urn:schemas-microsoft-com:office:office"
 544                       xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
 545                       xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
 546                       xmlns:v="urn:schemas-microsoft-com:vml"
 547                       xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
 548                       xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
 549                       xmlns:w10="urn:schemas-microsoft-com:office:word"
 550                       xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
 551                       xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
 552                       xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
 553                       xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
 554                       xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
 555                       xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">
 556                 <w:docDefaults>
 557                     <w:rPrDefault>
 558                         <w:rPr>
 559                             <w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia"
 560                                       w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/>
 561                             <w:kern w:val="2"/>
 562                             <w:sz w:val="21"/>
 563                             <w:szCs w:val="22"/>
 564                             <w:lang w:val="en-US" w:eastAsia="zh-CN" w:bidi="ar-SA"/>
 565                         </w:rPr>
 566                     </w:rPrDefault>
 567                     <w:pPrDefault/>
 568                 </w:docDefaults>
 569                 <w:latentStyles w:defLockedState="0" w:defUIPriority="99" w:defSemiHidden="1" w:defUnhideWhenUsed="1"
 570                                 w:defQFormat="0" w:count="267">
 571                     <w:lsdException w:name="Normal" w:semiHidden="0" w:uiPriority="0" w:unhideWhenUsed="0"
 572                                     w:qFormat="1"/>
 573                     <w:lsdException w:name="heading 1" w:semiHidden="0" w:uiPriority="9" w:unhideWhenUsed="0"
 574                                     w:qFormat="1"/>
 575                     <w:lsdException w:name="heading 2" w:uiPriority="9" w:qFormat="1"/>
 576                     <w:lsdException w:name="heading 3" w:uiPriority="9" w:qFormat="1"/>
 577                     <w:lsdException w:name="heading 4" w:uiPriority="9" w:qFormat="1"/>
 578                     <w:lsdException w:name="heading 5" w:uiPriority="9" w:qFormat="1"/>
 579                     <w:lsdException w:name="heading 6" w:uiPriority="9" w:qFormat="1"/>
 580                     <w:lsdException w:name="heading 7" w:uiPriority="9" w:qFormat="1"/>
 581                     <w:lsdException w:name="heading 8" w:uiPriority="9" w:qFormat="1"/>
 582                     <w:lsdException w:name="heading 9" w:uiPriority="9" w:qFormat="1"/>
 583                     <w:lsdException w:name="toc 1" w:uiPriority="39"/>
 584                     <w:lsdException w:name="toc 2" w:uiPriority="39"/>
 585                     <w:lsdException w:name="toc 3" w:uiPriority="39"/>
 586                     <w:lsdException w:name="toc 4" w:uiPriority="39"/>
 587                     <w:lsdException w:name="toc 5" w:uiPriority="39"/>
 588                     <w:lsdException w:name="toc 6" w:uiPriority="39"/>
 589                     <w:lsdException w:name="toc 7" w:uiPriority="39"/>
 590                     <w:lsdException w:name="toc 8" w:uiPriority="39"/>
 591                     <w:lsdException w:name="toc 9" w:uiPriority="39"/>
 592                     <w:lsdException w:name="caption" w:uiPriority="35" w:qFormat="1"/>
 593                     <w:lsdException w:name="Title" w:semiHidden="0" w:uiPriority="10" w:unhideWhenUsed="0"
 594                                     w:qFormat="1"/>
 595                     <w:lsdException w:name="Default Paragraph Font" w:uiPriority="1"/>
 596                     <w:lsdException w:name="Subtitle" w:semiHidden="0" w:uiPriority="11" w:unhideWhenUsed="0"
 597                                     w:qFormat="1"/>
 598                     <w:lsdException w:name="Strong" w:semiHidden="0" w:uiPriority="22" w:unhideWhenUsed="0"
 599                                     w:qFormat="1"/>
 600                     <w:lsdException w:name="Emphasis" w:semiHidden="0" w:uiPriority="20" w:unhideWhenUsed="0"
 601                                     w:qFormat="1"/>
 602                     <w:lsdException w:name="Table Grid" w:semiHidden="0" w:uiPriority="59" w:unhideWhenUsed="0"/>
 603                     <w:lsdException w:name="Placeholder Text" w:unhideWhenUsed="0"/>
 604                     <w:lsdException w:name="No Spacing" w:semiHidden="0" w:uiPriority="1" w:unhideWhenUsed="0"
 605                                     w:qFormat="1"/>
 606                     <w:lsdException w:name="Light Shading" w:semiHidden="0" w:uiPriority="60" w:unhideWhenUsed="0"/>
 607                     <w:lsdException w:name="Light List" w:semiHidden="0" w:uiPriority="61" w:unhideWhenUsed="0"/>
 608                     <w:lsdException w:name="Light Grid" w:semiHidden="0" w:uiPriority="62" w:unhideWhenUsed="0"/>
 609                     <w:lsdException w:name="Medium Shading 1" w:semiHidden="0" w:uiPriority="63" w:unhideWhenUsed="0"/>
 610                     <w:lsdException w:name="Medium Shading 2" w:semiHidden="0" w:uiPriority="64" w:unhideWhenUsed="0"/>
 611                     <w:lsdException w:name="Medium List 1" w:semiHidden="0" w:uiPriority="65" w:unhideWhenUsed="0"/>
 612                     <w:lsdException w:name="Medium List 2" w:semiHidden="0" w:uiPriority="66" w:unhideWhenUsed="0"/>
 613                     <w:lsdException w:name="Medium Grid 1" w:semiHidden="0" w:uiPriority="67" w:unhideWhenUsed="0"/>
 614                     <w:lsdException w:name="Medium Grid 2" w:semiHidden="0" w:uiPriority="68" w:unhideWhenUsed="0"/>
 615                     <w:lsdException w:name="Medium Grid 3" w:semiHidden="0" w:uiPriority="69" w:unhideWhenUsed="0"/>
 616                     <w:lsdException w:name="Dark List" w:semiHidden="0" w:uiPriority="70" w:unhideWhenUsed="0"/>
 617                     <w:lsdException w:name="Colorful Shading" w:semiHidden="0" w:uiPriority="71" w:unhideWhenUsed="0"/>
 618                     <w:lsdException w:name="Colorful List" w:semiHidden="0" w:uiPriority="72" w:unhideWhenUsed="0"/>
 619                     <w:lsdException w:name="Colorful Grid" w:semiHidden="0" w:uiPriority="73" w:unhideWhenUsed="0"/>
 620                     <w:lsdException w:name="Light Shading Accent 1" w:semiHidden="0" w:uiPriority="60"
 621                                     w:unhideWhenUsed="0"/>
 622                     <w:lsdException w:name="Light List Accent 1" w:semiHidden="0" w:uiPriority="61"
 623                                     w:unhideWhenUsed="0"/>
 624                     <w:lsdException w:name="Light Grid Accent 1" w:semiHidden="0" w:uiPriority="62"
 625                                     w:unhideWhenUsed="0"/>
 626                     <w:lsdException w:name="Medium Shading 1 Accent 1" w:semiHidden="0" w:uiPriority="63"
 627                                     w:unhideWhenUsed="0"/>
 628                     <w:lsdException w:name="Medium Shading 2 Accent 1" w:semiHidden="0" w:uiPriority="64"
 629                                     w:unhideWhenUsed="0"/>
 630                     <w:lsdException w:name="Medium List 1 Accent 1" w:semiHidden="0" w:uiPriority="65"
 631                                     w:unhideWhenUsed="0"/>
 632                     <w:lsdException w:name="Revision" w:unhideWhenUsed="0"/>
 633                     <w:lsdException w:name="List Paragraph" w:semiHidden="0" w:uiPriority="34" w:unhideWhenUsed="0"
 634                                     w:qFormat="1"/>
 635                     <w:lsdException w:name="Quote" w:semiHidden="0" w:uiPriority="29" w:unhideWhenUsed="0"
 636                                     w:qFormat="1"/>
 637                     <w:lsdException w:name="Intense Quote" w:semiHidden="0" w:uiPriority="30" w:unhideWhenUsed="0"
 638                                     w:qFormat="1"/>
 639                     <w:lsdException w:name="Medium List 2 Accent 1" w:semiHidden="0" w:uiPriority="66"
 640                                     w:unhideWhenUsed="0"/>
 641                     <w:lsdException w:name="Medium Grid 1 Accent 1" w:semiHidden="0" w:uiPriority="67"
 642                                     w:unhideWhenUsed="0"/>
 643                     <w:lsdException w:name="Medium Grid 2 Accent 1" w:semiHidden="0" w:uiPriority="68"
 644                                     w:unhideWhenUsed="0"/>
 645                     <w:lsdException w:name="Medium Grid 3 Accent 1" w:semiHidden="0" w:uiPriority="69"
 646                                     w:unhideWhenUsed="0"/>
 647                     <w:lsdException w:name="Dark List Accent 1" w:semiHidden="0" w:uiPriority="70"
 648                                     w:unhideWhenUsed="0"/>
 649                     <w:lsdException w:name="Colorful Shading Accent 1" w:semiHidden="0" w:uiPriority="71"
 650                                     w:unhideWhenUsed="0"/>
 651                     <w:lsdException w:name="Colorful List Accent 1" w:semiHidden="0" w:uiPriority="72"
 652                                     w:unhideWhenUsed="0"/>
 653                     <w:lsdException w:name="Colorful Grid Accent 1" w:semiHidden="0" w:uiPriority="73"
 654                                     w:unhideWhenUsed="0"/>
 655                     <w:lsdException w:name="Light Shading Accent 2" w:semiHidden="0" w:uiPriority="60"
 656                                     w:unhideWhenUsed="0"/>
 657                     <w:lsdException w:name="Light List Accent 2" w:semiHidden="0" w:uiPriority="61"
 658                                     w:unhideWhenUsed="0"/>
 659                     <w:lsdException w:name="Light Grid Accent 2" w:semiHidden="0" w:uiPriority="62"
 660                                     w:unhideWhenUsed="0"/>
 661                     <w:lsdException w:name="Medium Shading 1 Accent 2" w:semiHidden="0" w:uiPriority="63"
 662                                     w:unhideWhenUsed="0"/>
 663                     <w:lsdException w:name="Medium Shading 2 Accent 2" w:semiHidden="0" w:uiPriority="64"
 664                                     w:unhideWhenUsed="0"/>
 665                     <w:lsdException w:name="Medium List 1 Accent 2" w:semiHidden="0" w:uiPriority="65"
 666                                     w:unhideWhenUsed="0"/>
 667                     <w:lsdException w:name="Medium List 2 Accent 2" w:semiHidden="0" w:uiPriority="66"
 668                                     w:unhideWhenUsed="0"/>
 669                     <w:lsdException w:name="Medium Grid 1 Accent 2" w:semiHidden="0" w:uiPriority="67"
 670                                     w:unhideWhenUsed="0"/>
 671                     <w:lsdException w:name="Medium Grid 2 Accent 2" w:semiHidden="0" w:uiPriority="68"
 672                                     w:unhideWhenUsed="0"/>
 673                     <w:lsdException w:name="Medium Grid 3 Accent 2" w:semiHidden="0" w:uiPriority="69"
 674                                     w:unhideWhenUsed="0"/>
 675                     <w:lsdException w:name="Dark List Accent 2" w:semiHidden="0" w:uiPriority="70"
 676                                     w:unhideWhenUsed="0"/>
 677                     <w:lsdException w:name="Colorful Shading Accent 2" w:semiHidden="0" w:uiPriority="71"
 678                                     w:unhideWhenUsed="0"/>
 679                     <w:lsdException w:name="Colorful List Accent 2" w:semiHidden="0" w:uiPriority="72"
 680                                     w:unhideWhenUsed="0"/>
 681                     <w:lsdException w:name="Colorful Grid Accent 2" w:semiHidden="0" w:uiPriority="73"
 682                                     w:unhideWhenUsed="0"/>
 683                     <w:lsdException w:name="Light Shading Accent 3" w:semiHidden="0" w:uiPriority="60"
 684                                     w:unhideWhenUsed="0"/>
 685                     <w:lsdException w:name="Light List Accent 3" w:semiHidden="0" w:uiPriority="61"
 686                                     w:unhideWhenUsed="0"/>
 687                     <w:lsdException w:name="Light Grid Accent 3" w:semiHidden="0" w:uiPriority="62"
 688                                     w:unhideWhenUsed="0"/>
 689                     <w:lsdException w:name="Medium Shading 1 Accent 3" w:semiHidden="0" w:uiPriority="63"
 690                                     w:unhideWhenUsed="0"/>
 691                     <w:lsdException w:name="Medium Shading 2 Accent 3" w:semiHidden="0" w:uiPriority="64"
 692                                     w:unhideWhenUsed="0"/>
 693                     <w:lsdException w:name="Medium List 1 Accent 3" w:semiHidden="0" w:uiPriority="65"
 694                                     w:unhideWhenUsed="0"/>
 695                     <w:lsdException w:name="Medium List 2 Accent 3" w:semiHidden="0" w:uiPriority="66"
 696                                     w:unhideWhenUsed="0"/>
 697                     <w:lsdException w:name="Medium Grid 1 Accent 3" w:semiHidden="0" w:uiPriority="67"
 698                                     w:unhideWhenUsed="0"/>
 699                     <w:lsdException w:name="Medium Grid 2 Accent 3" w:semiHidden="0" w:uiPriority="68"
 700                                     w:unhideWhenUsed="0"/>
 701                     <w:lsdException w:name="Medium Grid 3 Accent 3" w:semiHidden="0" w:uiPriority="69"
 702                                     w:unhideWhenUsed="0"/>
 703                     <w:lsdException w:name="Dark List Accent 3" w:semiHidden="0" w:uiPriority="70"
 704                                     w:unhideWhenUsed="0"/>
 705                     <w:lsdException w:name="Colorful Shading Accent 3" w:semiHidden="0" w:uiPriority="71"
 706                                     w:unhideWhenUsed="0"/>
 707                     <w:lsdException w:name="Colorful List Accent 3" w:semiHidden="0" w:uiPriority="72"
 708                                     w:unhideWhenUsed="0"/>
 709                     <w:lsdException w:name="Colorful Grid Accent 3" w:semiHidden="0" w:uiPriority="73"
 710                                     w:unhideWhenUsed="0"/>
 711                     <w:lsdException w:name="Light Shading Accent 4" w:semiHidden="0" w:uiPriority="60"
 712                                     w:unhideWhenUsed="0"/>
 713                     <w:lsdException w:name="Light List Accent 4" w:semiHidden="0" w:uiPriority="61"
 714                                     w:unhideWhenUsed="0"/>
 715                     <w:lsdException w:name="Light Grid Accent 4" w:semiHidden="0" w:uiPriority="62"
 716                                     w:unhideWhenUsed="0"/>
 717                     <w:lsdException w:name="Medium Shading 1 Accent 4" w:semiHidden="0" w:uiPriority="63"
 718                                     w:unhideWhenUsed="0"/>
 719                     <w:lsdException w:name="Medium Shading 2 Accent 4" w:semiHidden="0" w:uiPriority="64"
 720                                     w:unhideWhenUsed="0"/>
 721                     <w:lsdException w:name="Medium List 1 Accent 4" w:semiHidden="0" w:uiPriority="65"
 722                                     w:unhideWhenUsed="0"/>
 723                     <w:lsdException w:name="Medium List 2 Accent 4" w:semiHidden="0" w:uiPriority="66"
 724                                     w:unhideWhenUsed="0"/>
 725                     <w:lsdException w:name="Medium Grid 1 Accent 4" w:semiHidden="0" w:uiPriority="67"
 726                                     w:unhideWhenUsed="0"/>
 727                     <w:lsdException w:name="Medium Grid 2 Accent 4" w:semiHidden="0" w:uiPriority="68"
 728                                     w:unhideWhenUsed="0"/>
 729                     <w:lsdException w:name="Medium Grid 3 Accent 4" w:semiHidden="0" w:uiPriority="69"
 730                                     w:unhideWhenUsed="0"/>
 731                     <w:lsdException w:name="Dark List Accent 4" w:semiHidden="0" w:uiPriority="70"
 732                                     w:unhideWhenUsed="0"/>
 733                     <w:lsdException w:name="Colorful Shading Accent 4" w:semiHidden="0" w:uiPriority="71"
 734                                     w:unhideWhenUsed="0"/>
 735                     <w:lsdException w:name="Colorful List Accent 4" w:semiHidden="0" w:uiPriority="72"
 736                                     w:unhideWhenUsed="0"/>
 737                     <w:lsdException w:name="Colorful Grid Accent 4" w:semiHidden="0" w:uiPriority="73"
 738                                     w:unhideWhenUsed="0"/>
 739                     <w:lsdException w:name="Light Shading Accent 5" w:semiHidden="0" w:uiPriority="60"
 740                                     w:unhideWhenUsed="0"/>
 741                     <w:lsdException w:name="Light List Accent 5" w:semiHidden="0" w:uiPriority="61"
 742                                     w:unhideWhenUsed="0"/>
 743                     <w:lsdException w:name="Light Grid Accent 5" w:semiHidden="0" w:uiPriority="62"
 744                                     w:unhideWhenUsed="0"/>
 745                     <w:lsdException w:name="Medium Shading 1 Accent 5" w:semiHidden="0" w:uiPriority="63"
 746                                     w:unhideWhenUsed="0"/>
 747                     <w:lsdException w:name="Medium Shading 2 Accent 5" w:semiHidden="0" w:uiPriority="64"
 748                                     w:unhideWhenUsed="0"/>
 749                     <w:lsdException w:name="Medium List 1 Accent 5" w:semiHidden="0" w:uiPriority="65"
 750                                     w:unhideWhenUsed="0"/>
 751                     <w:lsdException w:name="Medium List 2 Accent 5" w:semiHidden="0" w:uiPriority="66"
 752                                     w:unhideWhenUsed="0"/>
 753                     <w:lsdException w:name="Medium Grid 1 Accent 5" w:semiHidden="0" w:uiPriority="67"
 754                                     w:unhideWhenUsed="0"/>
 755                     <w:lsdException w:name="Medium Grid 2 Accent 5" w:semiHidden="0" w:uiPriority="68"
 756                                     w:unhideWhenUsed="0"/>
 757                     <w:lsdException w:name="Medium Grid 3 Accent 5" w:semiHidden="0" w:uiPriority="69"
 758                                     w:unhideWhenUsed="0"/>
 759                     <w:lsdException w:name="Dark List Accent 5" w:semiHidden="0" w:uiPriority="70"
 760                                     w:unhideWhenUsed="0"/>
 761                     <w:lsdException w:name="Colorful Shading Accent 5" w:semiHidden="0" w:uiPriority="71"
 762                                     w:unhideWhenUsed="0"/>
 763                     <w:lsdException w:name="Colorful List Accent 5" w:semiHidden="0" w:uiPriority="72"
 764                                     w:unhideWhenUsed="0"/>
 765                     <w:lsdException w:name="Colorful Grid Accent 5" w:semiHidden="0" w:uiPriority="73"
 766                                     w:unhideWhenUsed="0"/>
 767                     <w:lsdException w:name="Light Shading Accent 6" w:semiHidden="0" w:uiPriority="60"
 768                                     w:unhideWhenUsed="0"/>
 769                     <w:lsdException w:name="Light List Accent 6" w:semiHidden="0" w:uiPriority="61"
 770                                     w:unhideWhenUsed="0"/>
 771                     <w:lsdException w:name="Light Grid Accent 6" w:semiHidden="0" w:uiPriority="62"
 772                                     w:unhideWhenUsed="0"/>
 773                     <w:lsdException w:name="Medium Shading 1 Accent 6" w:semiHidden="0" w:uiPriority="63"
 774                                     w:unhideWhenUsed="0"/>
 775                     <w:lsdException w:name="Medium Shading 2 Accent 6" w:semiHidden="0" w:uiPriority="64"
 776                                     w:unhideWhenUsed="0"/>
 777                     <w:lsdException w:name="Medium List 1 Accent 6" w:semiHidden="0" w:uiPriority="65"
 778                                     w:unhideWhenUsed="0"/>
 779                     <w:lsdException w:name="Medium List 2 Accent 6" w:semiHidden="0" w:uiPriority="66"
 780                                     w:unhideWhenUsed="0"/>
 781                     <w:lsdException w:name="Medium Grid 1 Accent 6" w:semiHidden="0" w:uiPriority="67"
 782                                     w:unhideWhenUsed="0"/>
 783                     <w:lsdException w:name="Medium Grid 2 Accent 6" w:semiHidden="0" w:uiPriority="68"
 784                                     w:unhideWhenUsed="0"/>
 785                     <w:lsdException w:name="Medium Grid 3 Accent 6" w:semiHidden="0" w:uiPriority="69"
 786                                     w:unhideWhenUsed="0"/>
 787                     <w:lsdException w:name="Dark List Accent 6" w:semiHidden="0" w:uiPriority="70"
 788                                     w:unhideWhenUsed="0"/>
 789                     <w:lsdException w:name="Colorful Shading Accent 6" w:semiHidden="0" w:uiPriority="71"
 790                                     w:unhideWhenUsed="0"/>
 791                     <w:lsdException w:name="Colorful List Accent 6" w:semiHidden="0" w:uiPriority="72"
 792                                     w:unhideWhenUsed="0"/>
 793                     <w:lsdException w:name="Colorful Grid Accent 6" w:semiHidden="0" w:uiPriority="73"
 794                                     w:unhideWhenUsed="0"/>
 795                     <w:lsdException w:name="Subtle Emphasis" w:semiHidden="0" w:uiPriority="19" w:unhideWhenUsed="0"
 796                                     w:qFormat="1"/>
 797                     <w:lsdException w:name="Intense Emphasis" w:semiHidden="0" w:uiPriority="21" w:unhideWhenUsed="0"
 798                                     w:qFormat="1"/>
 799                     <w:lsdException w:name="Subtle Reference" w:semiHidden="0" w:uiPriority="31" w:unhideWhenUsed="0"
 800                                     w:qFormat="1"/>
 801                     <w:lsdException w:name="Intense Reference" w:semiHidden="0" w:uiPriority="32" w:unhideWhenUsed="0"
 802                                     w:qFormat="1"/>
 803                     <w:lsdException w:name="Book Title" w:semiHidden="0" w:uiPriority="33" w:unhideWhenUsed="0"
 804                                     w:qFormat="1"/>
 805                     <w:lsdException w:name="Bibliography" w:uiPriority="37"/>
 806                     <w:lsdException w:name="TOC Heading" w:uiPriority="39" w:qFormat="1"/>
 807                 </w:latentStyles>
 808                 <w:style w:type="paragraph" w:default="1" w:styleId="a">
 809                     <w:name w:val="Normal"/>
 810                     <w:qFormat/>
 811                     <w:pPr>
 812                         <w:widowControl w:val="0"/>
 813                         <w:jc w:val="both"/>
 814                     </w:pPr>
 815                 </w:style>
 816                 <w:style w:type="character" w:default="1" w:styleId="a0">
 817                     <w:name w:val="Default Paragraph Font"/>
 818                     <w:uiPriority w:val="1"/>
 819                     <w:semiHidden/>
 820                     <w:unhideWhenUsed/>
 821                 </w:style>
 822                 <w:style w:type="table" w:default="1" w:styleId="a1">
 823                     <w:name w:val="Normal Table"/>
 824                     <w:uiPriority w:val="99"/>
 825                     <w:semiHidden/>
 826                     <w:unhideWhenUsed/>
 827                     <w:tblPr>
 828                         <w:tblInd w:w="0" w:type="dxa"/>
 829                         <w:tblCellMar>
 830                             <w:top w:w="0" w:type="dxa"/>
 831                             <w:left w:w="108" w:type="dxa"/>
 832                             <w:bottom w:w="0" w:type="dxa"/>
 833                             <w:right w:w="108" w:type="dxa"/>
 834                         </w:tblCellMar>
 835                     </w:tblPr>
 836                 </w:style>
 837                 <w:style w:type="numbering" w:default="1" w:styleId="a2">
 838                     <w:name w:val="No List"/>
 839                     <w:uiPriority w:val="99"/>
 840                     <w:semiHidden/>
 841                     <w:unhideWhenUsed/>
 842                 </w:style>
 843                 <w:style w:type="table" w:styleId="a3">
 844                     <w:name w:val="Table Grid"/>
 845                     <w:basedOn w:val="a1"/>
 846                     <w:uiPriority w:val="59"/>
 847                     <w:rsid w:val="00B137A1"/>
 848                     <w:tblPr>
 849                         <w:tblInd w:w="0" w:type="dxa"/>
 850                         <w:tblBorders>
 851                             <w:top w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 852                             <w:left w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 853                             <w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 854                             <w:right w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 855                             <w:insideH w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 856                             <w:insideV w:val="single" w:sz="4" w:space="0" w:color="auto"/>
 857                         </w:tblBorders>
 858                         <w:tblCellMar>
 859                             <w:top w:w="0" w:type="dxa"/>
 860                             <w:left w:w="108" w:type="dxa"/>
 861                             <w:bottom w:w="0" w:type="dxa"/>
 862                             <w:right w:w="108" w:type="dxa"/>
 863                         </w:tblCellMar>
 864                     </w:tblPr>
 865                 </w:style>
 866             </w:styles>
 867         </pkg:xmlData>
 868     </pkg:part>
 869     <pkg:part pkg:name="/docProps/core.xml" pkg:contentType="application/vnd.openxmlformats-package.core-properties+xml"
 870               pkg:padding="256">
 871         <pkg:xmlData>
 872             <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
 873                                xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"
 874                                xmlns:dcmitype="http://purl.org/dc/dcmitype/"
 875                                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 876                 <dc:creator>x5456</dc:creator>
 877                 <cp:lastModifiedBy>x5456</cp:lastModifiedBy>
 878                 <cp:revision>2</cp:revision>
 879                 <dcterms:created xsi:type="dcterms:W3CDTF">2018-07-30T01:40:00Z</dcterms:created>
 880                 <dcterms:modified xsi:type="dcterms:W3CDTF">2018-07-30T01:47:00Z</dcterms:modified>
 881             </cp:coreProperties>
 882         </pkg:xmlData>
 883     </pkg:part>
 884     <pkg:part pkg:name="/word/styles.xml"
 885               pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml">
 886         <pkg:xmlData>
 887             <w:styles mc:Ignorable="w14" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 888                       xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
 889                       xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
 890                       xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml">
 891                 <w:docDefaults>
 892                     <w:rPrDefault>
 893                         <w:rPr>
 894                             <w:rFonts w:asciiTheme="minorHAnsi" w:eastAsiaTheme="minorEastAsia"
 895                                       w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi"/>
 896                             <w:kern w:val="2"/>
 897                             <w:sz w:val="21"/>
 898                             <w:szCs w:val="22"/>
 899                             <w:lang w:val="en-US" w:eastAsia="zh-CN" w:bidi="ar-SA"/>
 900                         </w:rPr>
 901                     </w:rPrDefault>
 902                     <w:pPrDefault/>
 903                 </w:docDefaults>
 904                 <w:latentStyles w:defLockedState="0" w:defUIPriority="99" w:defSemiHidden="1" w:defUnhideWhenUsed="1"
 905                                 w:defQFormat="0" w:count="267">
 906                     <w:lsdException w:name="Normal" w:semiHidden="0" w:uiPriority="0" w:unhideWhenUsed="0"
 907                                     w:qFormat="1"/>
 908                     <w:lsdException w:name="heading 1" w:semiHidden="0" w:uiPriority="9" w:unhideWhenUsed="0"
 909                                     w:qFormat="1"/>
 910                     <w:lsdException w:name="heading 2" w:uiPriority="9" w:qFormat="1"/>
 911                     <w:lsdException w:name="heading 3" w:uiPriority="9" w:qFormat="1"/>
 912                     <w:lsdException w:name="heading 4" w:uiPriority="9" w:qFormat="1"/>
 913                     <w:lsdException w:name="heading 5" w:uiPriority="9" w:qFormat="1"/>
 914                     <w:lsdException w:name="heading 6" w:uiPriority="9" w:qFormat="1"/>
 915                     <w:lsdException w:name="heading 7" w:uiPriority="9" w:qFormat="1"/>
 916                     <w:lsdException w:name="heading 8" w:uiPriority="9" w:qFormat="1"/>
 917                     <w:lsdException w:name="heading 9" w:uiPriority="9" w:qFormat="1"/>
 918                     <w:lsdException w:name="toc 1" w:uiPriority="39"/>
 919                     <w:lsdException w:name="toc 2" w:uiPriority="39"/>
 920                     <w:lsdException w:name="toc 3" w:uiPriority="39"/>
 921                     <w:lsdException w:name="toc 4" w:uiPriority="39"/>
 922                     <w:lsdException w:name="toc 5" w:uiPriority="39"/>
 923                     <w:lsdException w:name="toc 6" w:uiPriority="39"/>
 924                     <w:lsdException w:name="toc 7" w:uiPriority="39"/>
 925                     <w:lsdException w:name="toc 8" w:uiPriority="39"/>
 926                     <w:lsdException w:name="toc 9" w:uiPriority="39"/>
 927                     <w:lsdException w:name="caption" w:uiPriority="35" w:qFormat="1"/>
 928                     <w:lsdException w:name="Title" w:semiHidden="0" w:uiPriority="10" w:unhideWhenUsed="0"
 929                                     w:qFormat="1"/>
 930                     <w:lsdException w:name="Default Paragraph Font" w:uiPriority="1"/>
 931                     <w:lsdException w:name="Subtitle" w:semiHidden="0" w:uiPriority="11" w:unhideWhenUsed="0"
 932                                     w:qFormat="1"/>
 933                     <w:lsdException w:name="Strong" w:semiHidden="0" w:uiPriority="22" w:unhideWhenUsed="0"
 934                                     w:qFormat="1"/>
 935                     <w:lsdException w:name="Emphasis" w:semiHidden="0" w:uiPriority="20" w:unhideWhenUsed="0"
 936                                     w:qFormat="1"/>
 937                     <w:lsdException w:name="Table Grid" w:semiHidden="0" w:uiPriority="59" w:unhideWhenUsed="0"/>
 938                     <w:lsdException w:name="Placeholder Text" w:unhideWhenUsed="0"/>
 939                     <w:lsdException w:name="No Spacing" w:semiHidden="0" w:uiPriority="1" w:unhideWhenUsed="0"
 940                                     w:qFormat="1"/>
 941                     <w:lsdException w:name="Light Shading" w:semiHidden="0" w:uiPriority="60" w:unhideWhenUsed="0"/>
 942                     <w:lsdException w:name="Light List" w:semiHidden="0" w:uiPriority="61" w:unhideWhenUsed="0"/>
 943                     <w:lsdException w:name="Light Grid" w:semiHidden="0" w:uiPriority="62" w:unhideWhenUsed="0"/>
 944                     <w:lsdException w:name="Medium Shading 1" w:semiHidden="0" w:uiPriority="63" w:unhideWhenUsed="0"/>
 945                     <w:lsdException w:name="Medium Shading 2" w:semiHidden="0" w:uiPriority="64" w:unhideWhenUsed="0"/>
 946                     <w:lsdException w:name="Medium List 1" w:semiHidden="0" w:uiPriority="65" w:unhideWhenUsed="0"/>
 947                     <w:lsdException w:name="Medium List 2" w:semiHidden="0" w:uiPriority="66" w:unhideWhenUsed="0"/>
 948                     <w:lsdException w:name="Medium Grid 1" w:semiHidden="0" w:uiPriority="67" w:unhideWhenUsed="0"/>
 949                     <w:lsdException w:name="Medium Grid 2" w:semiHidden="0" w:uiPriority="68" w:unhideWhenUsed="0"/>
 950                     <w:lsdException w:name="Medium Grid 3" w:semiHidden="0" w:uiPriority="69" w:unhideWhenUsed="0"/>
 951                     <w:lsdException w:name="Dark List" w:semiHidden="0" w:uiPriority="70" w:unhideWhenUsed="0"/>
 952                     <w:lsdException w:name="Colorful Shading" w:semiHidden="0" w:uiPriority="71" w:unhideWhenUsed="0"/>
 953                     <w:lsdException w:name="Colorful List" w:semiHidden="0" w:uiPriority="72" w:unhideWhenUsed="0"/>
 954                     <w:lsdException w:name="Colorful Grid" w:semiHidden="0" w:uiPriority="73" w:unhideWhenUsed="0"/>
 955                     <w:lsdException w:name="Light Shading Accent 1" w:semiHidden="0" w:uiPriority="60"
 956                                     w:unhideWhenUsed="0"/>
 957                     <w:lsdException w:name="Light List Accent 1" w:semiHidden="0" w:uiPriority="61"
 958                                     w:unhideWhenUsed="0"/>
 959                     <w:lsdException w:name="Light Grid Accent 1" w:semiHidden="0" w:uiPriority="62"
 960                                     w:unhideWhenUsed="0"/>
 961                     <w:lsdException w:name="Medium Shading 1 Accent 1" w:semiHidden="0" w:uiPriority="63"
 962                                     w:unhideWhenUsed="0"/>
 963                     <w:lsdException w:name="Medium Shading 2 Accent 1" w:semiHidden="0" w:uiPriority="64"
 964                                     w:unhideWhenUsed="0"/>
 965                     <w:lsdException w:name="Medium List 1 Accent 1" w:semiHidden="0" w:uiPriority="65"
 966                                     w:unhideWhenUsed="0"/>
 967                     <w:lsdException w:name="Revision" w:unhideWhenUsed="0"/>
 968                     <w:lsdException w:name="List Paragraph" w:semiHidden="0" w:uiPriority="34" w:unhideWhenUsed="0"
 969                                     w:qFormat="1"/>
 970                     <w:lsdException w:name="Quote" w:semiHidden="0" w:uiPriority="29" w:unhideWhenUsed="0"
 971                                     w:qFormat="1"/>
 972                     <w:lsdException w:name="Intense Quote" w:semiHidden="0" w:uiPriority="30" w:unhideWhenUsed="0"
 973                                     w:qFormat="1"/>
 974                     <w:lsdException w:name="Medium List 2 Accent 1" w:semiHidden="0" w:uiPriority="66"
 975                                     w:unhideWhenUsed="0"/>
 976                     <w:lsdException w:name="Medium Grid 1 Accent 1" w:semiHidden="0" w:uiPriority="67"
 977                                     w:unhideWhenUsed="0"/>
 978                     <w:lsdException w:name="Medium Grid 2 Accent 1" w:semiHidden="0" w:uiPriority="68"
 979                                     w:unhideWhenUsed="0"/>
 980                     <w:lsdException w:name="Medium Grid 3 Accent 1" w:semiHidden="0" w:uiPriority="69"
 981                                     w:unhideWhenUsed="0"/>
 982                     <w:lsdException w:name="Dark List Accent 1" w:semiHidden="0" w:uiPriority="70"
 983                                     w:unhideWhenUsed="0"/>
 984                     <w:lsdException w:name="Colorful Shading Accent 1" w:semiHidden="0" w:uiPriority="71"
 985                                     w:unhideWhenUsed="0"/>
 986                     <w:lsdException w:name="Colorful List Accent 1" w:semiHidden="0" w:uiPriority="72"
 987                                     w:unhideWhenUsed="0"/>
 988                     <w:lsdException w:name="Colorful Grid Accent 1" w:semiHidden="0" w:uiPriority="73"
 989                                     w:unhideWhenUsed="0"/>
 990                     <w:lsdException w:name="Light Shading Accent 2" w:semiHidden="0" w:uiPriority="60"
 991                                     w:unhideWhenUsed="0"/>
 992                     <w:lsdException w:name="Light List Accent 2" w:semiHidden="0" w:uiPriority="61"
 993                                     w:unhideWhenUsed="0"/>
 994                     <w:lsdException w:name="Light Grid Accent 2" w:semiHidden="0" w:uiPriority="62"
 995                                     w:unhideWhenUsed="0"/>
 996                     <w:lsdException w:name="Medium Shading 1 Accent 2" w:semiHidden="0" w:uiPriority="63"
 997                                     w:unhideWhenUsed="0"/>
 998                     <w:lsdException w:name="Medium Shading 2 Accent 2" w:semiHidden="0" w:uiPriority="64"
 999                                     w:unhideWhenUsed="0"/>
1000                     <w:lsdException w:name="Medium List 1 Accent 2" w:semiHidden="0" w:uiPriority="65"
1001                                     w:unhideWhenUsed="0"/>
1002                     <w:lsdException w:name="Medium List 2 Accent 2" w:semiHidden="0" w:uiPriority="66"
1003                                     w:unhideWhenUsed="0"/>
1004                     <w:lsdException w:name="Medium Grid 1 Accent 2" w:semiHidden="0" w:uiPriority="67"
1005                                     w:unhideWhenUsed="0"/>
1006                     <w:lsdException w:name="Medium Grid 2 Accent 2" w:semiHidden="0" w:uiPriority="68"
1007                                     w:unhideWhenUsed="0"/>
1008                     <w:lsdException w:name="Medium Grid 3 Accent 2" w:semiHidden="0" w:uiPriority="69"
1009                                     w:unhideWhenUsed="0"/>
1010                     <w:lsdException w:name="Dark List Accent 2" w:semiHidden="0" w:uiPriority="70"
1011                                     w:unhideWhenUsed="0"/>
1012                     <w:lsdException w:name="Colorful Shading Accent 2" w:semiHidden="0" w:uiPriority="71"
1013                                     w:unhideWhenUsed="0"/>
1014                     <w:lsdException w:name="Colorful List Accent 2" w:semiHidden="0" w:uiPriority="72"
1015                                     w:unhideWhenUsed="0"/>
1016                     <w:lsdException w:name="Colorful Grid Accent 2" w:semiHidden="0" w:uiPriority="73"
1017                                     w:unhideWhenUsed="0"/>
1018                     <w:lsdException w:name="Light Shading Accent 3" w:semiHidden="0" w:uiPriority="60"
1019                                     w:unhideWhenUsed="0"/>
1020                     <w:lsdException w:name="Light List Accent 3" w:semiHidden="0" w:uiPriority="61"
1021                                     w:unhideWhenUsed="0"/>
1022                     <w:lsdException w:name="Light Grid Accent 3" w:semiHidden="0" w:uiPriority="62"
1023                                     w:unhideWhenUsed="0"/>
1024                     <w:lsdException w:name="Medium Shading 1 Accent 3" w:semiHidden="0" w:uiPriority="63"
1025                                     w:unhideWhenUsed="0"/>
1026                     <w:lsdException w:name="Medium Shading 2 Accent 3" w:semiHidden="0" w:uiPriority="64"
1027                                     w:unhideWhenUsed="0"/>
1028                     <w:lsdException w:name="Medium List 1 Accent 3" w:semiHidden="0" w:uiPriority="65"
1029                                     w:unhideWhenUsed="0"/>
1030                     <w:lsdException w:name="Medium List 2 Accent 3" w:semiHidden="0" w:uiPriority="66"
1031                                     w:unhideWhenUsed="0"/>
1032                     <w:lsdException w:name="Medium Grid 1 Accent 3" w:semiHidden="0" w:uiPriority="67"
1033                                     w:unhideWhenUsed="0"/>
1034                     <w:lsdException w:name="Medium Grid 2 Accent 3" w:semiHidden="0" w:uiPriority="68"
1035                                     w:unhideWhenUsed="0"/>
1036                     <w:lsdException w:name="Medium Grid 3 Accent 3" w:semiHidden="0" w:uiPriority="69"
1037                                     w:unhideWhenUsed="0"/>
1038                     <w:lsdException w:name="Dark List Accent 3" w:semiHidden="0" w:uiPriority="70"
1039                                     w:unhideWhenUsed="0"/>
1040                     <w:lsdException w:name="Colorful Shading Accent 3" w:semiHidden="0" w:uiPriority="71"
1041                                     w:unhideWhenUsed="0"/>
1042                     <w:lsdException w:name="Colorful List Accent 3" w:semiHidden="0" w:uiPriority="72"
1043                                     w:unhideWhenUsed="0"/>
1044                     <w:lsdException w:name="Colorful Grid Accent 3" w:semiHidden="0" w:uiPriority="73"
1045                                     w:unhideWhenUsed="0"/>
1046                     <w:lsdException w:name="Light Shading Accent 4" w:semiHidden="0" w:uiPriority="60"
1047                                     w:unhideWhenUsed="0"/>
1048                     <w:lsdException w:name="Light List Accent 4" w:semiHidden="0" w:uiPriority="61"
1049                                     w:unhideWhenUsed="0"/>
1050                     <w:lsdException w:name="Light Grid Accent 4" w:semiHidden="0" w:uiPriority="62"
1051                                     w:unhideWhenUsed="0"/>
1052                     <w:lsdException w:name="Medium Shading 1 Accent 4" w:semiHidden="0" w:uiPriority="63"
1053                                     w:unhideWhenUsed="0"/>
1054                     <w:lsdException w:name="Medium Shading 2 Accent 4" w:semiHidden="0" w:uiPriority="64"
1055                                     w:unhideWhenUsed="0"/>
1056                     <w:lsdException w:name="Medium List 1 Accent 4" w:semiHidden="0" w:uiPriority="65"
1057                                     w:unhideWhenUsed="0"/>
1058                     <w:lsdException w:name="Medium List 2 Accent 4" w:semiHidden="0" w:uiPriority="66"
1059                                     w:unhideWhenUsed="0"/>
1060                     <w:lsdException w:name="Medium Grid 1 Accent 4" w:semiHidden="0" w:uiPriority="67"
1061                                     w:unhideWhenUsed="0"/>
1062                     <w:lsdException w:name="Medium Grid 2 Accent 4" w:semiHidden="0" w:uiPriority="68"
1063                                     w:unhideWhenUsed="0"/>
1064                     <w:lsdException w:name="Medium Grid 3 Accent 4" w:semiHidden="0" w:uiPriority="69"
1065                                     w:unhideWhenUsed="0"/>
1066                     <w:lsdException w:name="Dark List Accent 4" w:semiHidden="0" w:uiPriority="70"
1067                                     w:unhideWhenUsed="0"/>
1068                     <w:lsdException w:name="Colorful Shading Accent 4" w:semiHidden="0" w:uiPriority="71"
1069                                     w:unhideWhenUsed="0"/>
1070                     <w:lsdException w:name="Colorful List Accent 4" w:semiHidden="0" w:uiPriority="72"
1071                                     w:unhideWhenUsed="0"/>
1072                     <w:lsdException w:name="Colorful Grid Accent 4" w:semiHidden="0" w:uiPriority="73"
1073                                     w:unhideWhenUsed="0"/>
1074                     <w:lsdException w:name="Light Shading Accent 5" w:semiHidden="0" w:uiPriority="60"
1075                                     w:unhideWhenUsed="0"/>
1076                     <w:lsdException w:name="Light List Accent 5" w:semiHidden="0" w:uiPriority="61"
1077                                     w:unhideWhenUsed="0"/>
1078                     <w:lsdException w:name="Light Grid Accent 5" w:semiHidden="0" w:uiPriority="62"
1079                                     w:unhideWhenUsed="0"/>
1080                     <w:lsdException w:name="Medium Shading 1 Accent 5" w:semiHidden="0" w:uiPriority="63"
1081                                     w:unhideWhenUsed="0"/>
1082                     <w:lsdException w:name="Medium Shading 2 Accent 5" w:semiHidden="0" w:uiPriority="64"
1083                                     w:unhideWhenUsed="0"/>
1084                     <w:lsdException w:name="Medium List 1 Accent 5" w:semiHidden="0" w:uiPriority="65"
1085                                     w:unhideWhenUsed="0"/>
1086                     <w:lsdException w:name="Medium List 2 Accent 5" w:semiHidden="0" w:uiPriority="66"
1087                                     w:unhideWhenUsed="0"/>
1088                     <w:lsdException w:name="Medium Grid 1 Accent 5" w:semiHidden="0" w:uiPriority="67"
1089                                     w:unhideWhenUsed="0"/>
1090                     <w:lsdException w:name="Medium Grid 2 Accent 5" w:semiHidden="0" w:uiPriority="68"
1091                                     w:unhideWhenUsed="0"/>
1092                     <w:lsdException w:name="Medium Grid 3 Accent 5" w:semiHidden="0" w:uiPriority="69"
1093                                     w:unhideWhenUsed="0"/>
1094                     <w:lsdException w:name="Dark List Accent 5" w:semiHidden="0" w:uiPriority="70"
1095                                     w:unhideWhenUsed="0"/>
1096                     <w:lsdException w:name="Colorful Shading Accent 5" w:semiHidden="0" w:uiPriority="71"
1097                                     w:unhideWhenUsed="0"/>
1098                     <w:lsdException w:name="Colorful List Accent 5" w:semiHidden="0" w:uiPriority="72"
1099                                     w:unhideWhenUsed="0"/>
1100                     <w:lsdException w:name="Colorful Grid Accent 5" w:semiHidden="0" w:uiPriority="73"
1101                                     w:unhideWhenUsed="0"/>
1102                     <w:lsdException w:name="Light Shading Accent 6" w:semiHidden="0" w:uiPriority="60"
1103                                     w:unhideWhenUsed="0"/>
1104                     <w:lsdException w:name="Light List Accent 6" w:semiHidden="0" w:uiPriority="61"
1105                                     w:unhideWhenUsed="0"/>
1106                     <w:lsdException w:name="Light Grid Accent 6" w:semiHidden="0" w:uiPriority="62"
1107                                     w:unhideWhenUsed="0"/>
1108                     <w:lsdException w:name="Medium Shading 1 Accent 6" w:semiHidden="0" w:uiPriority="63"
1109                                     w:unhideWhenUsed="0"/>
1110                     <w:lsdException w:name="Medium Shading 2 Accent 6" w:semiHidden="0" w:uiPriority="64"
1111                                     w:unhideWhenUsed="0"/>
1112                     <w:lsdException w:name="Medium List 1 Accent 6" w:semiHidden="0" w:uiPriority="65"
1113                                     w:unhideWhenUsed="0"/>
1114                     <w:lsdException w:name="Medium List 2 Accent 6" w:semiHidden="0" w:uiPriority="66"
1115                                     w:unhideWhenUsed="0"/>
1116                     <w:lsdException w:name="Medium Grid 1 Accent 6" w:semiHidden="0" w:uiPriority="67"
1117                                     w:unhideWhenUsed="0"/>
1118                     <w:lsdException w:name="Medium Grid 2 Accent 6" w:semiHidden="0" w:uiPriority="68"
1119                                     w:unhideWhenUsed="0"/>
1120                     <w:lsdException w:name="Medium Grid 3 Accent 6" w:semiHidden="0" w:uiPriority="69"
1121                                     w:unhideWhenUsed="0"/>
1122                     <w:lsdException w:name="Dark List Accent 6" w:semiHidden="0" w:uiPriority="70"
1123                                     w:unhideWhenUsed="0"/>
1124                     <w:lsdException w:name="Colorful Shading Accent 6" w:semiHidden="0" w:uiPriority="71"
1125                                     w:unhideWhenUsed="0"/>
1126                     <w:lsdException w:name="Colorful List Accent 6" w:semiHidden="0" w:uiPriority="72"
1127                                     w:unhideWhenUsed="0"/>
1128                     <w:lsdException w:name="Colorful Grid Accent 6" w:semiHidden="0" w:uiPriority="73"
1129                                     w:unhideWhenUsed="0"/>
1130                     <w:lsdException w:name="Subtle Emphasis" w:semiHidden="0" w:uiPriority="19" w:unhideWhenUsed="0"
1131                                     w:qFormat="1"/>
1132                     <w:lsdException w:name="Intense Emphasis" w:semiHidden="0" w:uiPriority="21" w:unhideWhenUsed="0"
1133                                     w:qFormat="1"/>
1134                     <w:lsdException w:name="Subtle Reference" w:semiHidden="0" w:uiPriority="31" w:unhideWhenUsed="0"
1135                                     w:qFormat="1"/>
1136                     <w:lsdException w:name="Intense Reference" w:semiHidden="0" w:uiPriority="32" w:unhideWhenUsed="0"
1137                                     w:qFormat="1"/>
1138                     <w:lsdException w:name="Book Title" w:semiHidden="0" w:uiPriority="33" w:unhideWhenUsed="0"
1139                                     w:qFormat="1"/>
1140                     <w:lsdException w:name="Bibliography" w:uiPriority="37"/>
1141                     <w:lsdException w:name="TOC Heading" w:uiPriority="39" w:qFormat="1"/>
1142                 </w:latentStyles>
1143                 <w:style w:type="paragraph" w:default="1" w:styleId="a">
1144                     <w:name w:val="Normal"/>
1145                     <w:qFormat/>
1146                     <w:pPr>
1147                         <w:widowControl w:val="0"/>
1148                         <w:jc w:val="both"/>
1149                     </w:pPr>
1150                 </w:style>
1151                 <w:style w:type="character" w:default="1" w:styleId="a0">
1152                     <w:name w:val="Default Paragraph Font"/>
1153                     <w:uiPriority w:val="1"/>
1154                     <w:semiHidden/>
1155                     <w:unhideWhenUsed/>
1156                 </w:style>
1157                 <w:style w:type="table" w:default="1" w:styleId="a1">
1158                     <w:name w:val="Normal Table"/>
1159                     <w:uiPriority w:val="99"/>
1160                     <w:semiHidden/>
1161                     <w:unhideWhenUsed/>
1162                     <w:tblPr>
1163                         <w:tblInd w:w="0" w:type="dxa"/>
1164                         <w:tblCellMar>
1165                             <w:top w:w="0" w:type="dxa"/>
1166                             <w:left w:w="108" w:type="dxa"/>
1167                             <w:bottom w:w="0" w:type="dxa"/>
1168                             <w:right w:w="108" w:type="dxa"/>
1169                         </w:tblCellMar>
1170                     </w:tblPr>
1171                 </w:style>
1172                 <w:style w:type="numbering" w:default="1" w:styleId="a2">
1173                     <w:name w:val="No List"/>
1174                     <w:uiPriority w:val="99"/>
1175                     <w:semiHidden/>
1176                     <w:unhideWhenUsed/>
1177                 </w:style>
1178                 <w:style w:type="table" w:styleId="a3">
1179                     <w:name w:val="Table Grid"/>
1180                     <w:basedOn w:val="a1"/>
1181                     <w:uiPriority w:val="59"/>
1182                     <w:rsid w:val="00B137A1"/>
1183                     <w:tblPr>
1184                         <w:tblInd w:w="0" w:type="dxa"/>
1185                         <w:tblBorders>
1186                             <w:top w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1187                             <w:left w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1188                             <w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1189                             <w:right w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1190                             <w:insideH w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1191                             <w:insideV w:val="single" w:sz="4" w:space="0" w:color="auto"/>
1192                         </w:tblBorders>
1193                         <w:tblCellMar>
1194                             <w:top w:w="0" w:type="dxa"/>
1195                             <w:left w:w="108" w:type="dxa"/>
1196                             <w:bottom w:w="0" w:type="dxa"/>
1197                             <w:right w:w="108" w:type="dxa"/>
1198                         </w:tblCellMar>
1199                     </w:tblPr>
1200                 </w:style>
1201             </w:styles>
1202         </pkg:xmlData>
1203     </pkg:part>
1204     <pkg:part pkg:name="/word/fontTable.xml"
1205               pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml">
1206         <pkg:xmlData>
1207             <w:fonts mc:Ignorable="w14" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1208                      xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
1209                      xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
1210                      xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml">
1211                 <w:font w:name="Calibri">
1212                     <w:panose1 w:val="020F0502020204030204"/>
1213                     <w:charset w:val="00"/>
1214                     <w:family w:val="swiss"/>
1215                     <w:pitch w:val="variable"/>
1216                     <w:sig w:usb0="E0002AFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF"
1217                            w:csb1="00000000"/>
1218                 </w:font>
1219                 <w:font w:name="宋体">
1220                     <w:altName w:val="SimSun"/>
1221                     <w:panose1 w:val="02010600030101010101"/>
1222                     <w:charset w:val="86"/>
1223                     <w:family w:val="auto"/>
1224                     <w:pitch w:val="variable"/>
1225                     <w:sig w:usb0="00000003" w:usb1="288F0000" w:usb2="00000016" w:usb3="00000000" w:csb0="00040001"
1226                            w:csb1="00000000"/>
1227                 </w:font>
1228                 <w:font w:name="Times New Roman">
1229                     <w:panose1 w:val="02020603050405020304"/>
1230                     <w:charset w:val="00"/>
1231                     <w:family w:val="roman"/>
1232                     <w:pitch w:val="variable"/>
1233                     <w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF"
1234                            w:csb1="00000000"/>
1235                 </w:font>
1236                 <w:font w:name="Cambria">
1237                     <w:panose1 w:val="02040503050406030204"/>
1238                     <w:charset w:val="00"/>
1239                     <w:family w:val="roman"/>
1240                     <w:pitch w:val="variable"/>
1241                     <w:sig w:usb0="E00002FF" w:usb1="400004FF" w:usb2="00000000" w:usb3="00000000" w:csb0="0000019F"
1242                            w:csb1="00000000"/>
1243                 </w:font>
1244             </w:fonts>
1245         </pkg:xmlData>
1246     </pkg:part>
1247     <pkg:part pkg:name="/docProps/app.xml"
1248               pkg:contentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" pkg:padding="256">
1249         <pkg:xmlData>
1250             <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"
1251                         xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
1252                 <Template>Normal.dotm</Template>
1253                 <TotalTime>3</TotalTime>
1254                 <Pages>1</Pages>
1255                 <Words>11</Words>
1256                 <Characters>63</Characters>
1257                 <Application>Microsoft Office Word</Application>
1258                 <DocSecurity>0</DocSecurity>
1259                 <Lines>1</Lines>
1260                 <Paragraphs>1</Paragraphs>
1261                 <ScaleCrop>false</ScaleCrop>
1262                 <Company/>
1263                 <LinksUpToDate>false</LinksUpToDate>
1264                 <CharactersWithSpaces>73</CharactersWithSpaces>
1265                 <SharedDoc>false</SharedDoc>
1266                 <HyperlinksChanged>false</HyperlinksChanged>
1267                 <AppVersion>14.0000</AppVersion>
1268             </Properties>
1269         </pkg:xmlData>
1270     </pkg:part>
1271 </pkg:package>

test.ftl(全部代码,使用word另存为xml方式生成)

2)需要写一个实体类,将要插入的字段(id,guid...)封装到实体类中,并提供get,set方法

 1 package com.dist.define;
 2
 3 public class TestVO {
 4
 5     private String id;
 6     private String guid;
 7     private String createdate;
 8
 9     public TestVO(String id, String guid, String createdate) {
10         this.id = id;
11         this.guid = guid;
12         this.createdate = createdate;
13     }
14
15     public String getId() {
16         return id;
17     }
18
19     public void setId(String id) {
20         this.id = id;
21     }
22
23     public String getGuid() {
24         return guid;
25     }
26
27     public void setGuid(String guid) {
28         this.guid = guid;
29     }
30
31     public String getCreatedate() {
32         return createdate;
33     }
34
35     public void setCreatedate(String createdate) {
36         this.createdate = createdate;
37     }
38 }

实体类

3)公司的工具类DocumentHandler

  1 package com.dist.report;
  2
  3 import com.dist.controller.CommonController;
  4 import freemarker.template.Configuration;
  5 import freemarker.template.Template;
  6 import freemarker.template.TemplateException;
  7 import org.slf4j.Logger;
  8 import org.slf4j.LoggerFactory;
  9 import org.springframework.stereotype.Component;
 10
 11 import java.io.*;
 12 import java.util.HashMap;
 13 import java.util.Map;
 14
 15 @Component("distDocument")
 16 public class DocumentHandler extends CommonController {
 17
 18     private Logger logger = LoggerFactory.getLogger(DocumentHandler.class);
 19
 20     private Configuration configuration = null;
 21     private String encoding = "utf-8";
 22     private String templatePath;
 23     private String templateName;
 24     private Map<String,Object> dataMap;
 25     private String saveFileDir = "";
 26     private String fileName;
 27     private String returnFileFullPath;
 28
 29     public DocumentHandler() {
 30         configuration = new Configuration(Configuration.VERSION_2_3_21);
 31         String templatePath = DocumentHandler.class.getClassLoader().getResource("/template").getPath();
 32         logger.info("freeMarker template path is >>>" + templatePath);
 33         this.templatePath = templatePath;
 34     }
 35
 36     public void createDoc(String saveFileDir, String fileName, String encoding, String templatePath, String templateName, Map<String,Object> datasource) {
 37
 38         InitParas(saveFileDir, fileName, encoding, templatePath, templateName,
 39                 datasource);
 40         this.createDoc();
 41
 42     }
 43
 44     private void InitParas(String saveFileDir, String fileName,
 45             String encoding, String templatePath, String templateName,
 46             Map<String, Object> datasource) {
 47
 48         this.saveFileDir = saveFileDir;
 49         this.fileName = fileName;
 50         this.encoding = encoding;
 51         this.templatePath = templatePath;
 52         this.templateName = templateName;
 53         this.dataMap = datasource;
 54         configuration.setDefaultEncoding(this.encoding);
 55         //设置模本装置方法和路径FreeMarker支持多种模板装载方法。可以从servlet,classpath,数据库装载
 56         //这里我们的模板是放在dist.dgp.template包下
 57         configuration.setClassForTemplateLoading(this.getClass(), this.templatePath);
 58     }
 59     public void createDoc() {
 60
 61         configuration.setDefaultEncoding(this.encoding);
 62         //设置模本装置方法和路径FreeMarker支持多种模板装载方法。可以从servlet,classpath,数据库装载
 63         //这里我们的模板是放在dist.dgp.template包下
 64 //        configuration.setClassForTemplateLoading(this.getClass(), this.templatePath);
 65         try {
 66             configuration.setDirectoryForTemplateLoading(new File(this.templatePath));
 67         } catch (IOException e1) {
 68             e1.printStackTrace();
 69         }
 70 //        configuration.setServletContextForTemplateLoading(request.getServletContext(), this.templatePath);
 71
 72         //要填入模本的数据文件
 73         if(null == dataMap){
 74             System.out.println("警告,模板数据源为空。");
 75             dataMap = new  HashMap<String,Object>();
 76         }
 77
 78         try {
 79             // 装载的模板名称
 80             Template t = configuration.getTemplate(this.templateName);
 81
 82             //输出文档路径
 83             File outDir = new File(this.saveFileDir);
 84             if(!outDir.exists()){
 85                 outDir.mkdirs();
 86             }
 87             File outFile = new File(outDir.getAbsolutePath()+"/"+this.fileName);
 88
 89             Writer out = null;
 90
 91             // 此编码必须得跟模板的编码是一致的,否则打开生成的word,提示xml非法字符
 92             out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outFile),this.encoding));
 93
 94             t.process(dataMap, out);
 95             if(outFile.exists()){
 96                 this.returnFileFullPath = outFile.getAbsolutePath();
 97                 System.out.println(returnFileFullPath);
 98             }else{
 99                 this.returnFileFullPath = "";
100             }
101
102         } catch (IOException e) {
103             e.printStackTrace();
104         } catch (TemplateException e) {
105             e.printStackTrace();
106         }
107
108
109     }
110
111     public String getEncoding() {
112         return encoding;
113     }
114
115     public void setEncoding(String encoding) {
116         this.encoding = encoding;
117     }
118
119     public String getTemplatePath() {
120         return templatePath;
121     }
122
123     public void setTemplatePath(String templatePath) {
124         this.templatePath = templatePath;
125     }
126
127     public String getTemplateName() {
128         return templateName;
129     }
130
131     public void setTemplateName(String templateName) {
132         this.templateName = templateName;
133     }
134
135     public Map<String, Object> getDataMap() {
136         return dataMap;
137     }
138
139     public void setDataMap(Map<String, Object> dataMap) {
140         this.dataMap = dataMap;
141     }
142
143     public String getSaveFileDir() {
144         return saveFileDir;
145     }
146
147     public void setSaveFileDir(String saveFileDir) {
148         this.saveFileDir = saveFileDir;
149     }
150
151     public String getFileName() {
152         return fileName;
153     }
154
155     public void setFileName(String fileName) {
156         this.fileName = fileName;
157     }
158
159
160     public String getReturnFileFullPath() {
161         return returnFileFullPath;
162     }
163
164
165 }

代码实例

package com.dist.report;

import com.dist.define.TestVO;
import com.dist.dgpserver.base.utils.ftp.FtpConfig;
import com.dist.dto.report.ParentInforVo;
import com.dist.dto.report.ProBaseInforVo;
import com.dist.dto.report.ProLocationVo;
import com.dist.dto.report.TableDataVo;
import com.dist.util.FtpUtil;
import com.dist.util.OfficeToPdf;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 使用freemarker插入多列表格,需要以下条件
 *   1)需要在模板中加入<#list listTest as listKey>标签,标识插入多行
 *   	把代码贴一下
 *   2)需要写一个实体类,将要插入的字段(id,guid...)封装到实体类中,并提供get,set方法
 *	 3)公司的工具类DocumentHandler
 */
@Service("TestReport")
public class TestReport{

	private static Logger LOG = Logger.getLogger(TestReport.class);

	// 模板名称
	private String templateName = "test.ftl";
	// 文件名称
	private String fileName  = "test.doc";
	// 扩展名,没有带点号"."
	private String fileSaveDir = "rp";
	@Autowired
	@Qualifier("distDocument")
	private DocumentHandler doc;

	public void createCheckReport(String localPath) {
		long startTime = System.currentTimeMillis();
//		LOG.info("合规检查报告JSON:"+jsonString);
		Map<String, Object> dataMap = new HashMap<String, Object>();

		ArrayList<TestVO> list = new ArrayList<>();

		TestVO vo = new TestVO("1","1","1");
		TestVO vo2 = new TestVO("2","2","2");

		list.add(vo);
		list.add(vo2);

		dataMap.put("listTest",list);

		doc.setDataMap(dataMap);
		doc.setTemplateName(this.templateName);
		doc.setSaveFileDir(localPath+ fileSaveDir);
		doc.setFileName(this.fileName);

		// create report
		doc.createDoc();

		System.out.println("************return file path:" + doc.getReturnFileFullPath());
		long endTime2 = System.currentTimeMillis();
		LOG.info("单纯生成报告耗时:" + (endTime2 - startTime) + "毫秒/ms");

	}

	public DocumentHandler getDoc() {
		return doc;
	}

	public void setDoc(DocumentHandler doc) {
		this.doc = doc;
	}

}

  

原文地址:https://www.cnblogs.com/x54256/p/9390027.html

时间: 2024-10-10 00:45:48

使用freemarker插入多行数据到word中的相关文章

Jdbc插入date类型数据到oracle中

导入数据库jar包,路径如下: E:\oracle\product\10.1.0\Db_3\jdbc\lib\ojdbc14.jar 建表语句如下: create table t_user( id int primary key, username varchar(40), password varchar(16), phone varchar(40), address varchar(255), createdate date ) Jdbc代码如下: public void save(){ C

SQL Server批量向表中插入多行数据语句

因自己学习测试需要,需要两个有大量不重复行的表,表中行数越多越好.手动编写SQL语句,通过循环,批量向表中插入数据,考虑到避免一致问题,设置奇偶行不同.个人水平有限,如有错误,还望指正. 语句如下: 1 --批量向表中插入大量数据语句(奇偶不同) 2 3 --判断测试表是否存在,存在则先删除再创建 4 if exists(select 1 from sysobjects where xtype='u' and name='table_test' ) 5 drop table table_test

T-SQL 一次插入多行数据

使用 INSERT SELECT 向表中插入数据 --将t1中查询到的数据插入添加到t2中(t2表必须存在,且顺序.数据类型必须与t1一致) INSERT INTO t2(USERNAME,PASSWORD) SELECT USERNAME,PASSWORD FROM t1 使用 SELECT INTO 将现有表中的数据添加到新表中 --将t1中查询到的数据插入添加到t2中(t2表不能存在.将在执行中创建) SELECT t1_USERNAME, t1_PASSWORD INTO t2 FROM

mysql插入多行数据的方法

mysql -uroot -p进入数据库随便创建一个数据库create database hangzhou; use hangzhou; 创建个表create table t1 (id int(1),name varchar(20),age char(1),job varchar(20)); 在root下建立个文件1.txt 内容如下,直接用tab隔开: [[email protected]_168_2_193 ~]# vi 1.txt 1       lx      20      it 4.

Oracle与Mysql插入多行数据

Oracle 一. insert allinto students values ('b10050501','zl')into students values ('b10050502','zjw')select * from dual; 二. insert into studentsselect ‘b10050501’,'zl' from dualunionselect ’b10050502‘,'zjw' from dual; Mysql 一. insert into stu values('b

插入多行数据和类似 select union 方法

Cite:http://blog.csdn.net/downmoon/article/details/5936706 [ruby] view plaincopyprint? Create table Demo_Values (PKID int not null identity(1,1) primary key ,DName Nvarchar(20) null ,DCode NVarchar(30) null ,DDate datetime null ) go --this SQL is onl

C# ado.net基础 查询一个表中有多少行数据 在sqlsever中的一个表中

镇场诗: 诚听如来语,顿舍世间名与利.愿做地藏徒,广演是经阎浮提. 愿尽吾所学,成就一良心博客.愿诸后来人,重现智慧清净体.------------------------------------------ 1 show my sql: 2 code first base .cs file 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using S

使用SqlBulkCopy批量插入多条数据进入表中

由于工作中项目需求结算一次生成一批相同批次号的数据插入一个表中,然后再通过另一页面展示出来,所以需要用到一次性插入一批数据,所以就采用了SqlBulkCopy插入一批数据 1 public static int InsertSettlementRecord(SqlConnection connection, List<InventorySettlement> model) 2 { 3 DataTable dt = GetTableSchema(); 4 SqlBulkCopy bulkCopy

SQL Server中将多行数据拼接为一行数据(一个字符串

方法一: 使用T-SQLDECLARE @Users NVARCHAR(MAX)SET @Users = ” SELECT @Users = @Users + ‘,’ + UserName FROM dbo.[User]WHERE RoleID = 1 SELECT @Users 方法二:使用for xml path(”) 和stuff–使用 自连接.for xml path(”)和stuff合并显示多行数据到一行中 –注–1.计算列可以不用包含在聚合函数中而直接显示,如下面语句的val.–2.