导出文件为word文档

WordUtil word 处理工具类

1.定义要生成的模板

生成ftl 文件

<?xml version="1.0" encoding="utf-8"?>
<?mso-application progid="Word.Document"?>

<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve">
  <o:DocumentProperties>
    <o:Author>admin</o:Author>
    <o:LastAuthor>dongq</o:LastAuthor>
    <o:Revision>679</o:Revision>
    <o:Created>2017-02-23T11:03:00Z</o:Created>
    <o:LastSaved>2020-08-11T02:28:26Z</o:LastSaved>
    <o:TotalTime>30240</o:TotalTime>
    <o:Pages>7</o:Pages>
    <o:Words>696</o:Words>
    <o:Characters>3969</o:Characters>
    <o:Company>China</o:Company>
    <o:Lines>33</o:Lines>
    <o:Paragraphs>9</o:Paragraphs>
    <o:CharactersWithSpaces>4656</o:CharactersWithSpaces>
    <o:Version>14</o:Version>
  </o:DocumentProperties>
  <o:CustomDocumentProperties>
    <o:KSORubyTemplateID dt:dt="string">4</o:KSORubyTemplateID>
    <o:KSOProductBuildVer dt:dt="string">2052-11.1.0.9912</o:KSOProductBuildVer>
  </o:CustomDocumentProperties>
  <w:fonts>
    <w:defaultFonts w:ascii="Times New Roman" w:fareast="宋体" w:h-ansi="Times New Roman" w:cs="Times New Roman"/>
    <w:font w:name="Times New Roman">
      <w:panose-1 w:val="02020603050405020304"/>
      <w:charset w:val="00"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
    </w:font>
    <w:font w:name="宋体">
      <w:panose-1 w:val="02010600030101010101"/>
      <w:charset w:val="86"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000003" w:usb-1="288F0000" w:usb-2="00000006" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Wingdings">
      <w:panose-1 w:val="05000000000000000000"/>
      <w:charset w:val="02"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Arial">
      <w:panose-1 w:val="020B0604020202020204"/>
      <w:charset w:val="01"/>
      <w:family w:val="SWiss"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
    </w:font>
    <w:font w:name="黑体">
      <w:panose-1 w:val="02010609060101010101"/>
      <w:charset w:val="86"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="800002BF" w:usb-1="38CF7CFA" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Courier New">
      <w:panose-1 w:val="02070309020205020404"/>
      <w:charset w:val="01"/>
      <w:family w:val="Modern"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
    </w:font>
    <w:font w:name="Symbol">
      <w:panose-1 w:val="05050102010706020507"/>
      <w:charset w:val="02"/>
      <w:family w:val="Roman"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Calibri">
      <w:panose-1 w:val="020F0502020204030204"/>
      <w:charset w:val="00"/>
      <w:family w:val="SWiss"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E4002EFF" w:usb-1="C000247B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="200001FF" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Wingdings">
      <w:panose-1 w:val="05000000000000000000"/>
      <w:charset w:val="00"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="Arial">
      <w:panose-1 w:val="020B0604020202020204"/>
      <w:charset w:val="00"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
    </w:font>
    <w:font w:name="Courier New">
      <w:panose-1 w:val="02070309020205020404"/>
      <w:charset w:val="00"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
    </w:font>
    <w:font w:name="Symbol">
      <w:panose-1 w:val="05050102010706020507"/>
      <w:charset w:val="00"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
    </w:font>
    <w:font w:name="华文中宋">
      <w:panose-1 w:val="02010600040101010101"/>
      <w:charset w:val="86"/>
      <w:family w:val="Auto"/>
      <w:pitch w:val="Default"/>
      <w:sig w:usb-0="00000287" w:usb-1="080F0000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="0004009F" w:csb-1="DFD70000"/>
    </w:font>
  </w:fonts>
  <w:lists>
    <w:listDef w:listDefId="0">
      <w:plt w:val="Multilevel"/>
      <w:lvl w:ilvl="0">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="630" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="1">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="1050" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="2">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="1470" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="3">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="1890" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="4">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="2310" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="5">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="2730" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="6">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="3150" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="7">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="3570" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
      <w:lvl w:ilvl="8">
        <w:start w:val="1"/>
        <w:nfc w:val="23"/>
        <w:lvlText w:val=""/>
        <w:lvlJc w:val="left"/>
        <w:pPr>
          <w:ind w:left="3990" w:hanging="420"/>
        </w:pPr>
        <w:rPr>
          <w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/>
        </w:rPr>
      </w:lvl>
    </w:listDef>
    <w:list w:ilfo="1">
      <w:ilst w:val="0"/>
    </w:list>
  </w:lists>
  <w:styles>
    <w:latentStyles w:defLockedState="off" w:latentStyleCount="260">
      <w:lsdException w:name="Normal"/>
      <w:lsdException w:name="heading 1"/>
      <w:lsdException w:name="heading 2"/>
      <w:lsdException w:name="heading 3"/>
      <w:lsdException w:name="heading 4"/>
      <w:lsdException w:name="heading 5"/>
      <w:lsdException w:name="heading 6"/>
      <w:lsdException w:name="heading 7"/>
      <w:lsdException w:name="heading 8"/>
      <w:lsdException w:name="heading 9"/>
      <w:lsdException w:name="index 1"/>
      <w:lsdException w:name="index 2"/>
      <w:lsdException w:name="index 3"/>
      <w:lsdException w:name="index 4"/>
      <w:lsdException w:name="index 5"/>
      <w:lsdException w:name="index 6"/>
      <w:lsdException w:name="index 7"/>
      <w:lsdException w:name="index 8"/>
      <w:lsdException w:name="index 9"/>
      <w:lsdException w:name="toc 1"/>
      <w:lsdException w:name="toc 2"/>
      <w:lsdException w:name="toc 3"/>
      <w:lsdException w:name="toc 4"/>
      <w:lsdException w:name="toc 5"/>
      <w:lsdException w:name="toc 6"/>
      <w:lsdException w:name="toc 7"/>
      <w:lsdException w:name="toc 8"/>
      <w:lsdException w:name="toc 9"/>
      <w:lsdException w:name="Normal Indent"/>
      <w:lsdException w:name="footnote text"/>
      <w:lsdException w:name="annotation text"/>
      <w:lsdException w:name="header"/>
      <w:lsdException w:name="footer"/>
      <w:lsdException w:name="index heading"/>
      <w:lsdException w:name="caption"/>
      <w:lsdException w:name="table of figures"/>
      <w:lsdException w:name="envelope address"/>
      <w:lsdException w:name="envelope return"/>
      <w:lsdException w:name="footnote reference"/>
      <w:lsdException w:name="annotation reference"/>
      <w:lsdException w:name="line number"/>
      <w:lsdException w:name="page number"/>
      <w:lsdException w:name="endnote reference"/>
      <w:lsdException w:name="endnote text"/>
      <w:lsdException w:name="table of authorities"/>
      <w:lsdException w:name="macro"/>
      <w:lsdException w:name="toa heading"/>
      <w:lsdException w:name="List"/>
      <w:lsdException w:name="List Bullet"/>
      <w:lsdException w:name="List Number"/>
      <w:lsdException w:name="List 2"/>
      <w:lsdException w:name="List 3"/>
      <w:lsdException w:name="List 4"/>
      <w:lsdException w:name="List 5"/>
      <w:lsdException w:name="List Bullet 2"/>
      <w:lsdException w:name="List Bullet 3"/>
      <w:lsdException w:name="List Bullet 4"/>
      <w:lsdException w:name="List Bullet 5"/>
      <w:lsdException w:name="List Number 2"/>
      <w:lsdException w:name="List Number 3"/>
      <w:lsdException w:name="List Number 4"/>
      <w:lsdException w:name="List Number 5"/>
      <w:lsdException w:name="Title"/>
      <w:lsdException w:name="Closing"/>
      <w:lsdException w:name="Signature"/>
      <w:lsdException w:name="Default Paragraph Font"/>
      <w:lsdException w:name="Body Text"/>
      <w:lsdException w:name="Body Text Indent"/>
      <w:lsdException w:name="List Continue"/>
      <w:lsdException w:name="List Continue 2"/>
      <w:lsdException w:name="List Continue 3"/>
      <w:lsdException w:name="List Continue 4"/>
      <w:lsdException w:name="List Continue 5"/>
      <w:lsdException w:name="Message Header"/>
      <w:lsdException w:name="Subtitle"/>
      <w:lsdException w:name="Salutation"/>
      <w:lsdException w:name="Date"/>
      <w:lsdException w:name="Body Text First Indent"/>
      <w:lsdException w:name="Body Text First Indent 2"/>
      <w:lsdException w:name="Note Heading"/>
      <w:lsdException w:name="Body Text 2"/>
      <w:lsdException w:name="Body Text 3"/>
      <w:lsdException w:name="Body Text Indent 2"/>
      <w:lsdException w:name="Body Text Indent 3"/>
      <w:lsdException w:name="Block Text"/>
      <w:lsdException w:name="Hyperlink"/>
      <w:lsdException w:name="FollowedHyperlink"/>
      <w:lsdException w:name="Strong"/>
      <w:lsdException w:name="Emphasis"/>
      <w:lsdException w:name="Document Map"/>
      <w:lsdException w:name="Plain Text"/>
      <w:lsdException w:name="E-mail Signature"/>
      <w:lsdException w:name="Normal (Web)"/>
      <w:lsdException w:name="HTML Acronym"/>
      <w:lsdException w:name="HTML Address"/>
      <w:lsdException w:name="HTML Cite"/>
      <w:lsdException w:name="HTML Code"/>
      <w:lsdException w:name="HTML Definition"/>
      <w:lsdException w:name="HTML Keyboard"/>
      <w:lsdException w:name="HTML Preformatted"/>
      <w:lsdException w:name="HTML Sample"/>
      <w:lsdException w:name="HTML Typewriter"/>
      <w:lsdException w:name="HTML Variable"/>
      <w:lsdException w:name="Normal Table"/>
      <w:lsdException w:name="annotation subject"/>
      <w:lsdException w:name="Table Simple 1"/>
      <w:lsdException w:name="Table Simple 2"/>
      <w:lsdException w:name="Table Simple 3"/>
      <w:lsdException w:name="Table Classic 1"/>
      <w:lsdException w:name="Table Classic 2"/>
      <w:lsdException w:name="Table Classic 3"/>
      <w:lsdException w:name="Table Classic 4"/>
      <w:lsdException w:name="Table Colorful 1"/>
      <w:lsdException w:name="Table Colorful 2"/>
      <w:lsdException w:name="Table Colorful 3"/>
      <w:lsdException w:name="Table Columns 1"/>
      <w:lsdException w:name="Table Columns 2"/>
      <w:lsdException w:name="Table Columns 3"/>
      <w:lsdException w:name="Table Columns 4"/>
      <w:lsdException w:name="Table Columns 5"/>
      <w:lsdException w:name="Table Grid 1"/>
      <w:lsdException w:name="Table Grid 2"/>
      <w:lsdException w:name="Table Grid 3"/>
      <w:lsdException w:name="Table Grid 4"/>
      <w:lsdException w:name="Table Grid 5"/>
      <w:lsdException w:name="Table Grid 6"/>
      <w:lsdException w:name="Table Grid 7"/>
      <w:lsdException w:name="Table Grid 8"/>
      <w:lsdException w:name="Table List 1"/>
      <w:lsdException w:name="Table List 2"/>
      <w:lsdException w:name="Table List 3"/>
      <w:lsdException w:name="Table List 4"/>
      <w:lsdException w:name="Table List 5"/>
      <w:lsdException w:name="Table List 6"/>
      <w:lsdException w:name="Table List 7"/>
      <w:lsdException w:name="Table List 8"/>
      <w:lsdException w:name="Table 3D effects 1"/>
      <w:lsdException w:name="Table 3D effects 2"/>
      <w:lsdException w:name="Table 3D effects 3"/>
      <w:lsdException w:name="Table Contemporary"/>
      <w:lsdException w:name="Table Elegant"/>
      <w:lsdException w:name="Table Professional"/>
      <w:lsdException w:name="Table Subtle 1"/>
      <w:lsdException w:name="Table Subtle 2"/>
      <w:lsdException w:name="Table Web 1"/>
      <w:lsdException w:name="Table Web 2"/>
      <w:lsdException w:name="Table Web 3"/>
      <w:lsdException w:name="Balloon Text"/>
      <w:lsdException w:name="Table Grid"/>
      <w:lsdException w:name="Table Theme"/>
      <w:lsdException w:name="Light Shading"/>
      <w:lsdException w:name="Light List"/>
      <w:lsdException w:name="Light Grid"/>
      <w:lsdException w:name="Medium Shading 1"/>
      <w:lsdException w:name="Medium Shading 2"/>
      <w:lsdException w:name="Medium List 1"/>
      <w:lsdException w:name="Medium List 2"/>
      <w:lsdException w:name="Medium Grid 1"/>
      <w:lsdException w:name="Medium Grid 2"/>
      <w:lsdException w:name="Medium Grid 3"/>
      <w:lsdException w:name="Dark List"/>
      <w:lsdException w:name="Colorful Shading"/>
      <w:lsdException w:name="Colorful List"/>
      <w:lsdException w:name="Colorful Grid"/>
      <w:lsdException w:name="Light Shading Accent 1"/>
      <w:lsdException w:name="Light List Accent 1"/>
      <w:lsdException w:name="Light Grid Accent 1"/>
      <w:lsdException w:name="Medium Shading 1 Accent 1"/>
      <w:lsdException w:name="Medium Shading 2 Accent 1"/>
      <w:lsdException w:name="Medium List 1 Accent 1"/>
      <w:lsdException w:name="Medium List 2 Accent 1"/>
      <w:lsdException w:name="Medium Grid 1 Accent 1"/>
      <w:lsdException w:name="Medium Grid 2 Accent 1"/>
      <w:lsdException w:name="Medium Grid 3 Accent 1"/>
      <w:lsdException w:name="Dark List Accent 1"/>
      <w:lsdException w:name="Colorful Shading Accent 1"/>
      <w:lsdException w:name="Colorful List Accent 1"/>
      <w:lsdException w:name="Colorful Grid Accent 1"/>
      <w:lsdException w:name="Light Shading Accent 2"/>
      <w:lsdException w:name="Light List Accent 2"/>
      <w:lsdException w:name="Light Grid Accent 2"/>
      <w:lsdException w:name="Medium Shading 1 Accent 2"/>
      <w:lsdException w:name="Medium Shading 2 Accent 2"/>
      <w:lsdException w:name="Medium List 1 Accent 2"/>
      <w:lsdException w:name="Medium List 2 Accent 2"/>
      <w:lsdException w:name="Medium Grid 1 Accent 2"/>
      <w:lsdException w:name="Medium Grid 2 Accent 2"/>
      <w:lsdException w:name="Medium Grid 3 Accent 2"/>
      <w:lsdException w:name="Dark List Accent 2"/>
      <w:lsdException w:name="Colorful Shading Accent 2"/>
      <w:lsdException w:name="Colorful List Accent 2"/>
      <w:lsdException w:name="Colorful Grid Accent 2"/>
      <w:lsdException w:name="Light Shading Accent 3"/>
      <w:lsdException w:name="Light List Accent 3"/>
      <w:lsdException w:name="Light Grid Accent 3"/>
      <w:lsdException w:name="Medium Shading 1 Accent 3"/>
      <w:lsdException w:name="Medium Shading 2 Accent 3"/>
      <w:lsdException w:name="Medium List 1 Accent 3"/>
      <w:lsdException w:name="Medium List 2 Accent 3"/>
      <w:lsdException w:name="Medium Grid 1 Accent 3"/>
      <w:lsdException w:name="Medium Grid 2 Accent 3"/>
      <w:lsdException w:name="Medium Grid 3 Accent 3"/>
      <w:lsdException w:name="Dark List Accent 3"/>
      <w:lsdException w:name="Colorful Shading Accent 3"/>
      <w:lsdException w:name="Colorful List Accent 3"/>
      <w:lsdException w:name="Colorful Grid Accent 3"/>
      <w:lsdException w:name="Light Shading Accent 4"/>
      <w:lsdException w:name="Light List Accent 4"/>
      <w:lsdException w:name="Light Grid Accent 4"/>
      <w:lsdException w:name="Medium Shading 1 Accent 4"/>
      <w:lsdException w:name="Medium Shading 2 Accent 4"/>
      <w:lsdException w:name="Medium List 1 Accent 4"/>
      <w:lsdException w:name="Medium List 2 Accent 4"/>
      <w:lsdException w:name="Medium Grid 1 Accent 4"/>
      <w:lsdException w:name="Medium Grid 2 Accent 4"/>
      <w:lsdException w:name="Medium Grid 3 Accent 4"/>
      <w:lsdException w:name="Dark List Accent 4"/>
      <w:lsdException w:name="Colorful Shading Accent 4"/>
      <w:lsdException w:name="Colorful List Accent 4"/>
      <w:lsdException w:name="Colorful Grid Accent 4"/>
      <w:lsdException w:name="Light Shading Accent 5"/>
      <w:lsdException w:name="Light List Accent 5"/>
      <w:lsdException w:name="Light Grid Accent 5"/>
      <w:lsdException w:name="Medium Shading 1 Accent 5"/>
      <w:lsdException w:name="Medium Shading 2 Accent 5"/>
      <w:lsdException w:name="Medium List 1 Accent 5"/>
      <w:lsdException w:name="Medium List 2 Accent 5"/>
      <w:lsdException w:name="Medium Grid 1 Accent 5"/>
      <w:lsdException w:name="Medium Grid 2 Accent 5"/>
      <w:lsdException w:name="Medium Grid 3 Accent 5"/>
      <w:lsdException w:name="Dark List Accent 5"/>
      <w:lsdException w:name="Colorful Shading Accent 5"/>
      <w:lsdException w:name="Colorful List Accent 5"/>
      <w:lsdException w:name="Colorful Grid Accent 5"/>
      <w:lsdException w:name="Light Shading Accent 6"/>
      <w:lsdException w:name="Light List Accent 6"/>
      <w:lsdException w:name="Light Grid Accent 6"/>
      <w:lsdException w:name="Medium Shading 1 Accent 6"/>
      <w:lsdException w:name="Medium Shading 2 Accent 6"/>
      <w:lsdException w:name="Medium List 1 Accent 6"/>
      <w:lsdException w:name="Medium List 2 Accent 6"/>
      <w:lsdException w:name="Medium Grid 1 Accent 6"/>
      <w:lsdException w:name="Medium Grid 2 Accent 6"/>
      <w:lsdException w:name="Medium Grid 3 Accent 6"/>
      <w:lsdException w:name="Dark List Accent 6"/>
      <w:lsdException w:name="Colorful Shading Accent 6"/>
      <w:lsdException w:name="Colorful List Accent 6"/>
      <w:lsdException w:name="Colorful Grid Accent 6"/>
    </w:latentStyles>
    <w:style w:type="paragraph" w:styleId="a1" w:default="on">
      <w:name w:val="Normal"/>
      <w:pPr>
        <w:widowControl w:val="off"/>
        <w:jc w:val="both"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:ascii="Calibri" w:h-ansi="Calibri" w:fareast="宋体" w:cs="Times New Roman" w:hint="default"/>
        <w:kern w:val="2"/>
        <w:sz w:val="21"/>
        <w:sz-cs w:val="22"/>
        <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
      </w:rPr>
    </w:style>
    <w:style w:type="character" w:styleId="a6" w:default="on">
      <w:name w:val="Default Paragraph Font"/>
    </w:style>
    <w:style w:type="table" w:styleId="a5" w:default="on">
      <w:name w:val="Normal Table"/>
      <w:semiHidden/>
      <w:tblPr>
        <w:tblCellMar>
          <w:top w:w="0" w:type="dxa"/>
          <w:left w:w="108" w:type="dxa"/>
          <w:bottom w:w="0" w:type="dxa"/>
          <w:right w:w="108" w:type="dxa"/>
        </w:tblCellMar>
      </w:tblPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a2">
      <w:name w:val="Balloon Text"/>
      <w:basedOn w:val="a1"/>
      <w:link w:val="a14"/>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a3">
      <w:name w:val="footer"/>
      <w:basedOn w:val="a1"/>
      <w:link w:val="a11"/>
      <w:pPr>
        <w:snapToGrid w:val="off"/>
        <w:jc w:val="left"/>
      </w:pPr>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a4">
      <w:name w:val="header"/>
      <w:basedOn w:val="a1"/>
      <w:link w:val="a10"/>
      <w:pPr>
        <w:pBdr>
          <w:bottom w:val="single" w:sz="6" wx:bdrwidth="15" w:space="1" w:color="auto"/>
        </w:pBdr>
        <w:snapToGrid w:val="off"/>
        <w:jc w:val="center"/>
      </w:pPr>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="character" w:styleId="a7">
      <w:name w:val="Hyperlink"/>
      <w:basedOn w:val="a6"/>
      <w:rPr>
        <w:color w:val="0000FF"/>
        <w:u w:val="single"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a8">
      <w:name w:val="Normal (Web)"/>
      <w:basedOn w:val="a1"/>
      <w:pPr>
        <w:widowControl/>
        <w:spacing w:before="100" w:before-autospacing="on" w:after="100" w:after-autospacing="on"/>
        <w:jc w:val="left"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体" w:hint="default"/>
        <w:kern w:val="0"/>
        <w:sz w:val="24"/>
        <w:sz-cs w:val="24"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a9">
      <w:name w:val="列表段落1"/>
      <w:basedOn w:val="a1"/>
      <w:link w:val="a13"/>
      <w:pPr>
        <w:ind w:first-line="420" w:first-line-chars="200"/>
      </w:pPr>
    </w:style>
    <w:style w:type="character" w:styleId="a10">
      <w:name w:val="页眉 Char"/>
      <w:basedOn w:val="a6"/>
      <w:link w:val="a4"/>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="character" w:styleId="a11">
      <w:name w:val="页脚 Char"/>
      <w:basedOn w:val="a6"/>
      <w:link w:val="a3"/>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a12">
      <w:name w:val="正文缩进1"/>
      <w:basedOn w:val="a1"/>
      <w:pPr>
        <w:spacing w:line="360" w:line-rule="auto"/>
        <w:ind w:first-line="200" w:first-line-chars="200"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:ascii="Arial" w:h-ansi="Arial" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="default"/>
        <w:sz w:val="24"/>
        <w:sz-cs w:val="21"/>
      </w:rPr>
    </w:style>
    <w:style w:type="character" w:styleId="a13">
      <w:name w:val="列出段落 Char"/>
      <w:basedOn w:val="a6"/>
      <w:link w:val="a9"/>
      <w:rPr/>
    </w:style>
    <w:style w:type="character" w:styleId="a14">
      <w:name w:val="批注框文本 Char"/>
      <w:basedOn w:val="a6"/>
      <w:link w:val="a2"/>
      <w:rPr>
        <w:sz w:val="18"/>
        <w:sz-cs w:val="18"/>
      </w:rPr>
    </w:style>
    <w:style w:type="paragraph" w:styleId="a15">
      <w:name w:val="List Paragraph"/>
      <w:basedOn w:val="a1"/>
      <w:pPr>
        <w:ind w:first-line="420" w:first-line-chars="200"/>
      </w:pPr>
    </w:style>
  </w:styles>
  <w:bgPict>
    <w:background/>
    <v:background id="_x0000_s1025">
      <v:fill on="f" focussize="0,0"/>
    </v:background>
  </w:bgPict>
  <w:docPr>
    <w:view w:val="print"/>
    <w:zoom w:percent="120"/>
    <w:characterSpacingControl w:val="CompressPunctuation"/>
    <w:documentProtection w:enforcement="off"/>
    <w:doNotEmbedSystemFonts/>
    <w:bordersDontSurroundHeader/>
    <w:bordersDontSurroundFooter/>
    <w:defaultTabStop w:val="420"/>
    <w:drawingGridVerticalSpacing w:val="156"/>
    <w:displayHorizontalDrawingGridEvery w:val="1"/>
    <w:displayVerticalDrawingGridEvery w:val="1"/>
    <w:compat>
      <w:adjustLineHeightInTable/>
      <w:ulTrailSpace/>
      <w:doNotExpandShiftReturn/>
      <w:balanceSingleByteDoubleByteWidth/>
      <w:useFELayout/>
      <w:spaceForUL/>
      <w:breakWrappedTables/>
      <w:dontGrowAutofit/>
      <w:useFELayout/>
    </w:compat>
  </w:docPr>
  <w:body>
    <wx:sect>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t>个人信息:</w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="default"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:b/>
          </w:rPr>
          <w:t>   </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${name!''}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>           </w:t>
        </w:r>
        <w:r>
          <w:t>  </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t> </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t>性    别</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t> ${sex!''}</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:left="8222" w:hanging="8222" w:hanging-chars="3900"/>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:b/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t>E</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t>-</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:b/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t>mail</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>  ${email!''}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>       </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:b/>
          </w:rPr>
          <w:t>  </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${major!''}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>                                  </w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t>出生日期:</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>     </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b w:val="off"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${brithday!''}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>   </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:b/>
          </w:rPr>
          <w:t>      </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t>毕业学校</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${graduate_institutions!''}</w:t>
        </w:r>
      </w:p>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t>求职意向:</w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p/>
      <w:p>
        <w:pPr>
          <w:pStyle w:val="a9"/>
          <w:listPr>
            <w:ilvl w:val="0"/>
            <w:ilfo w:val="1"/>
          </w:listPr>
          <w:ind w:first-line-chars="0"/>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${intention!''}</w:t>
        </w:r>
      </w:p>
      <w:p/>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t>自我评价:</w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:tabs>
            <w:tab w:val="left" w:pos="6618"/>
          </w:tabs>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:right="-181" w:first-line="420" w:first-line-chars="200"/>
          <w:jc w:val="left"/>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${individual_resume!''}</w:t>
        </w:r>
        <w:r>
          <w:t> </w:t>
        </w:r>
        <w:r>
          <w:tab/>
        </w:r>
      </w:p>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t>工作经历:</w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:rPr>
            <w:b/>
          </w:rPr>
        </w:pPr>
      </w:p>
      <w:p>
        <w:pPr>
          <w:pStyle w:val="a9"/>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:left="-357" w:left-chars="-170" w:first-line-chars="0"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="default"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <#list workList as work>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${work.sdate?date}至${work.edate?date}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t> </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>     </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>公司名称:${work.company}</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:pStyle w:val="a9"/>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:left="-357" w:left-chars="-170" w:first-line-chars="0"/>
          <w:rPr>
            <w:rFonts w:fareast="华文中宋" w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="fareast"/>
            <w:b/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>职位</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="Arial" w:h-ansi="Arial" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="fareast"/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="Arial" w:h-ansi="Arial" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="fareast"/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${work.position}</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="default"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>工作描述:${work.remark}</w:t>
        </w:r>
      </w:p>
      </#list>
      <w:p>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t> </w:t>
        </w:r>
      </w:p>
      <w:p/>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t>项目经验:</w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
          <w:spacing w:before="156" w:before-lines="50" w:after="156" w:after-lines="50"/>
          <w:ind w:first-line="422" w:first-line-chars="200"/>
          <w:jc w:val="left"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <#list projectList as project>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${project.sdate?date}至${project.edate?date}</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
          </w:rPr>
          <w:t>     </w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>项目名称 : ${project.prj_name!''}</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
          <w:spacing w:before="156" w:before-lines="50" w:after="156" w:after-lines="50"/>
          <w:ind w:first-line="420"/>
          <w:jc w:val="left"/>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="fareast"/>
            <w:b/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>项目描述</w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="Arial" w:h-ansi="Arial" w:fareast="华文中宋" w:cs="Times New Roman" w:hint="fareast"/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t></w:t>
        </w:r>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t> </w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:left="420" w:first-line="420" w:first-line-chars="200"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="fareast"/>
            <w:lang w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${project.describe!''}</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:spacing w:line="360" w:line-rule="auto"/>
          <w:ind w:first-line="482" w:first-line-chars="200"/>
          <w:rPr>
            <w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:cs="Times New Roman" w:hint="default"/>
            <w:b/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:cs="Times New Roman" w:hint="fareast"/>
            <w:b/>
            <w:sz w:val="24"/>
            <w:sz-cs w:val="21"/>
          </w:rPr>
          <w:t>责任描述:</w:t>
        </w:r>
      </w:p>
      <w:p>
        <w:pPr>
          <w:pStyle w:val="a15"/>
          <w:pBdr>
            <w:bottom w:val="single" w:sz="6" wx:bdrwidth="15" w:space="1" w:color="auto"/>
          </w:pBdr>
          <w:ind w:left="360" w:first-line="832" w:first-line-chars="0"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="default"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
          <w:t>${project.remark!''}</w:t>
        </w:r>
      </w:p>
      </#list>
      <w:p>
        <w:pPr>
          <w:pBdr>
            <w:bottom w:val="single" w:sz="6" wx:bdrwidth="15" w:space="1" w:color="auto"/>
          </w:pBdr>
        </w:pPr>
      </w:p>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                  <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
                </w:rPr>
                <w:t>教育经历</w:t>
              </w:r>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t></w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
          <w:spacing w:before="156" w:before-lines="50" w:after="156" w:after-lines="50"/>
          <w:ind w:first-line="422" w:first-line-chars="200"/>
          <w:jc w:val="left"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <#list educationList as education>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
              <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
            </w:rPr>
            <w:t>${education.sdate?date}至${education.edate?date}</w:t>
          </w:r>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
            </w:rPr>
            <w:t>     </w:t>
          </w:r>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
              <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
            </w:rPr>
            <w:t>学校名称:${education.universities!''}</w:t>
          </w:r>
        </#list>
      </w:p>
      <w:tbl>
        <w:tblPr>
          <w:tblW w:w="8655" w:type="dxa"/>
          <w:tblInd w:w="93" w:type="dxa"/>
          <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
          <w:tblLayout w:type="Fixed"/>
          <w:tblCellMar>
            <w:top w:w="0" w:type="dxa"/>
            <w:left w:w="108" w:type="dxa"/>
            <w:bottom w:w="0" w:type="dxa"/>
            <w:right w:w="108" w:type="dxa"/>
          </w:tblCellMar>
        </w:tblPr>
        <w:tblGrid>
          <w:gridCol w:w="8655"/>
        </w:tblGrid>
        <w:tr>
          <w:tblPrEx>
            <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
            <w:tblCellMar>
              <w:top w:w="0" w:type="dxa"/>
              <w:left w:w="108" w:type="dxa"/>
              <w:bottom w:w="0" w:type="dxa"/>
              <w:right w:w="108" w:type="dxa"/>
            </w:tblCellMar>
          </w:tblPrEx>
          <w:trPr>
            <w:trHeight w:val="450" w:h-rule="atLeast"/>
          </w:trPr>
          <w:tc>
            <w:tcPr>
              <w:tcW w:w="8655" w:type="dxa"/>
              <w:shd w:val="clear" w:color="auto" w:fill="D8D8D8"/>
              <w:vAlign w:val="center"/>
            </w:tcPr>
            <w:p>
              <w:pPr>
                <w:rPr>
                  <w:b/>
                  <w:color w:val="D8D8D8"/>
                </w:rPr>
              </w:pPr>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                  <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
                </w:rPr>
                <w:t>校内荣誉</w:t>
              </w:r>
              <w:r>
                <w:rPr>
                  <w:rFonts w:hint="fareast"/>
                  <w:b/>
                  <w:shd w:val="pct-10" w:color="auto" w:fill="FFFFFF"/>
                </w:rPr>
                <w:t></w:t>
              </w:r>
            </w:p>
          </w:tc>
        </w:tr>
      </w:tbl>
      <w:p>
        <w:pPr>
          <w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
          <w:spacing w:before="156" w:before-lines="50" w:after="156" w:after-lines="50"/>
          <w:ind w:first-line="422" w:first-line-chars="200"/>
          <w:jc w:val="left"/>
          <w:rPr>
            <w:rFonts w:fareast="宋体" w:hint="fareast"/>
            <w:b/>
            <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
          </w:rPr>
        </w:pPr>
        <#list honorList as honor>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
              <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
            </w:rPr>
            <w:t>${honor.sdate?date}至${honor.edate?date}</w:t>
          </w:r>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
            </w:rPr>
            <w:t>     </w:t>
          </w:r>
          <w:r>
            <w:rPr>
              <w:rFonts w:hint="fareast"/>
              <w:b/>
              <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
            </w:rPr>
            <w:t>校内荣誉:${honor.universities!''}</w:t>
          </w:r>
        </#list>
      </w:p>
      <w:sectPr>
        <w:hdr w:type="odd">
          <w:p>
            <w:pPr>
              <w:pStyle w:val="a4"/>
              <w:tabs>
                <w:tab w:val="center" w:pos="4153"/>
                <w:tab w:val="right" w:pos="8306"/>
              </w:tabs>
              <w:jc w:val="both"/>
            </w:pPr>
            <w:r>
              <w:rPr>
                <w:rFonts w:hint="fareast"/>
                <w:b/>
                <w:sz w:val="32"/>
              </w:rPr>
              <w:t>个人简历</w:t>
            </w:r>
          </w:p>
        </w:hdr>
        <w:ftr w:type="odd">
          <w:p>
            <w:pPr>
              <w:pStyle w:val="a3"/>
              <w:tabs>
                <w:tab w:val="center" w:pos="4153"/>
                <w:tab w:val="right" w:pos="8306"/>
              </w:tabs>
              <w:jc w:val="center"/>
              <w:rPr>
                <w:b/>
                <w:sz w:val="21"/>
              </w:rPr>
            </w:pPr>
            <w:r>
              <w:rPr>
                <w:rFonts w:hint="fareast"/>
                <w:b/>
                <w:sz-cs w:val="21"/>
              </w:rPr>
              <w:t>                                                               </w:t>
            </w:r>
          </w:p>
          <w:p>
            <w:pPr>
              <w:pStyle w:val="a3"/>
              <w:tabs>
                <w:tab w:val="center" w:pos="4153"/>
                <w:tab w:val="right" w:pos="8306"/>
              </w:tabs>
            </w:pPr>
          </w:p>
        </w:ftr>
        <w:pgSz w:w="11906" w:h="16838"/>
        <w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851" w:footer="992" w:gutter="0"/>
        <w:cols w:space="425"/>
        <w:docGrid w:type="lines" w:line-pitch="312"/>
      </w:sectPr>
    </wx:sect>
  </w:body>
</w:wordDocument>

二.用工具类生成

package com.kdm.project.treepeople.common.wordUtil;

import com.kdm.project.system.domain.SysDictData;
import com.kdm.project.treepeople.controller.SrUserInfoController;
import com.kdm.project.treepeople.domain.*;
import com.kdm.project.treepeople.mapper.SrUserInfoMapper;
import com.kdm.project.treepeople.service.*;
import freemarker.template.Configuration;
import freemarker.template.Template;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.freemarker.FreeMarkerTemplateUtils;
import org.springframework.web.bind.annotation.*;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Create by 2020/8/10
 *
 * @Author GZS
 */
@RestController
public class WordUtil {
    @Autowired
    private SrUserInfoMapper srUserInfoMapper;

    //工作经历
    @Autowired
    private ISrUserExperienceService userExperienceService;

    // 项目经验
    @Autowired
    private ISrUserExperienceProjectService userExperienceProjectService;
    //教育经历
    @Autowired
    private ISrUserEducationService userEducationService;
    //校内荣誉
    @Autowired
    private ISrUserSchoolSituationService userSchoolSituationService;
    //技能特长
    @Autowired
    private ISrUserTechnologyAdvantageService serTechnologyAdvantageService;
    //企业简历关联
    @Autowired
    private ISrCompanyUserinfoService companyUserinfoService;

    /**
     * 日志
     */
    private static final Logger log = LoggerFactory.getLogger(SrUserInfoController.class);

    /**
     * 下载个人简历word文档
     * @param response
     * @param request
     * @throws IOException
     * @throws
     */
    @GetMapping("/getWordFile")
    @ResponseBody
    public void print(HttpServletResponse response, HttpServletRequest request) throws IOException, Exception {
        /*Long userId1 = Long.valueOf(id);*/
        String id = request.getParameter("id");
        //获取简历基本信息
        SrUserInfo userInfo = srUserInfoMapper.selectUserInfoById(Integer.parseInt(id));
        //拼装简历数据
        String content = exportFile(userInfo);

        InputStream inputStream = IOUtils.toInputStream(content);
        ServletOutputStream out = null;
        try {

            //输出文件
            response.setHeader("content-type", "application/octet-stream");
            response.setContentType("application/octet-stream;charset=UTF-8");
            response.setHeader("Content-Disposition", "attachment;filename=".concat(String.valueOf(URLEncoder.encode(userInfo.getName()+"个人简历", "UTF-8")+ ".doc")));

            out = response.getOutputStream();
            byte[] buffer = new byte[1024]; // 缓冲区
            int bytesToRead = -1;
            // 通过循环将读入的Word文件的内容输出到浏览器中
            while((bytesToRead = inputStream.read(buffer)) != -1) {
                out.write(buffer, 0, bytesToRead);
            }
        }catch (Exception e){
            log.error("导出Excel异常{}", e.getMessage());
          /*  throw new BusinessException("导出word失败,请联系网站管理员!");*/
        }finally {
            out.flush();
            out.close();
            inputStream.close();
        }
    }
    public String exportFile(SrUserInfo userInfo ) throws Exception{
        //获取简历的工作经验
        List<SrUserExperience> srUserExperienceList = userExperienceService.selectUserExperienceListByUserId(userInfo.getId());

        //获取简历的项目经验
        List<SrUserExperienceProject> userExperienceProjectList = userExperienceProjectService.selectUserExperienceProjectListByUserId(userInfo.getId());

        //获取简历的教育信息
        List<SrUserEducation> userEducationList = userEducationService.selectUserEducationListByUserId(userInfo.getId());

        //获取简历的学校信息
        List<SrUserSchoolSituation> schoolSituations = userSchoolSituationService.selectUserSchoolSituationListByUserId(userInfo.getId());

      /*  //获取简历的技能信息
        List<SrUserTechnologyAdvantage> technologyAdvantages = serTechnologyAdvantageService.selectUserTechnologyAdvantageListByUserId(userInfo.getId());*/

        //获取企业简历的关联信息
        /*SrCompanyUserinfo sysCompanyUserinfo = companyUserinfoService.getComUserByLogIdAndUseId(companyUserinfo.getLoginId(),companyUserinfo.getUserInfoId());*/

        //创建配置类
        Configuration configuration = new Configuration();
        String classPath = this.getClass().getResource("/").getPath();
/*        configuration.setDirectoryForTemplateLoading(new File("E:/SVN/项目研发/编码/sr/trunk/sr-pure/target/classes/templates/"));*/
        configuration.setDirectoryForTemplateLoading(new File("src/main/java/com/kdm/project/treepeople/common/wordUtil/templates/"));
        //获取模板文件
        Template template = configuration.getTemplate("wordTemplate.ftl");
        Map<String, Object> data = new HashMap<String, Object>();
        String sex = null;
        if(userInfo.getSex().equals("0")){
            sex = "女";
        }else {
            sex = "男";
        }
        //-------------------------------------------------------------
        data.put("name", userInfo.getName());      //姓名
        data.put("sex",  sex);       //性别
        data.put("email",userInfo.getEmail());      //Email
        data.put("major", userInfo.getMajor());    //专业
        data.put("brithday",  userInfo.getBrithday().toString());   //出生日期
        data.put("graduate_institutions",  userInfo.getGraduateInstitutions());     //毕业院校
        data.put("intention",  userInfo.getIntention());     //求职意向
        data.put("individual_resume", userInfo.getIndividualResume());    //自我评价

        //-------------------------------------------------------------

//        data.put("staffInfo",staffInfo);
        //要和模板中定义的变量名保持一致
        data.put("workList",srUserExperienceList);//工作经历
        data.put("projectList",userExperienceProjectList);//项目经验
        data.put("educationList",userEducationList);//教育经历
        data.put("honorList",  schoolSituations);    //校内荣誉
       /* data.put("technology",  "technologyAdvantages");    //技能特长*/

        String content = FreeMarkerTemplateUtils.processTemplateIntoString(template, data);

        return content;
    }
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值