{"id":1695,"date":"2023-06-19T18:07:43","date_gmt":"2023-06-19T10:07:43","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=1695"},"modified":"2023-06-19T18:07:43","modified_gmt":"2023-06-19T10:07:43","slug":"spring-boot-%e6%88%91%e9%9a%8f%e6%89%8b%e5%b0%81%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aa%e4%b8%87%e8%83%bd%e7%9a%84-excel-%e5%af%bc%e5%87%ba%e5%b7%a5%e5%85%b7%ef%bc%8c%e4%bc%a0%e4%bb%80%e4%b9%88%e9%83%bd","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/spring-boot-%e6%88%91%e9%9a%8f%e6%89%8b%e5%b0%81%e8%a3%85%e4%ba%86%e4%b8%80%e4%b8%aa%e4%b8%87%e8%83%bd%e7%9a%84-excel-%e5%af%bc%e5%87%ba%e5%b7%a5%e5%85%b7%ef%bc%8c%e4%bc%a0%e4%bb%80%e4%b9%88%e9%83%bd\/","title":{"rendered":"Spring Boot \u6211\u968f\u624b\u5c01\u88c5\u4e86\u4e00\u4e2a\u4e07\u80fd\u7684 Excel \u5bfc\u51fa\u5de5\u5177\uff0c\u4f20\u4ec0\u4e48\u90fd\u80fd\u5bfc\u51fa\uff01"},"content":{"rendered":"<div class='wxsyncmain'>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u73a9\u6cd5\u5f88\u7b80\u5355\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u8981\u5b9e\u73b0\u7684\u6548\u679c \uff1a<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 10px 5px;padding: 10px 10px 10px 20px;outline: 0px;border-left-color: rgb(53, 179, 120);color: rgb(97, 97, 97);font-size: 0.9em;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;border-top: none;border-bottom: none;overflow: auto;border-right: 0px solid rgb(53, 179, 120);quotes: none;background: rgb(251, 249, 253);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;color: black;line-height: 26px;\">\u7c7b\u662f\u4e0d\u786e\u5b9a\u7684 \uff0cUser \uff1fStudent ? &nbsp;District ? &nbsp;\u4e0d\u786e\u5b9a\u3002<\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;color: black;line-height: 26px;\">\u4f46\u662f\u5462\u6211\u4eec\u5c01\u88c5\u51fa\u6765\u7684\u51fd\u6570\uff0c\u8981\u8db3\u591f\u652f\u6491\u4e0d\u540c\u7684\u7c7b\uff0c\u6211\u4eec\u81ea\u52a8\u53bb\u8bfb\u53d6\u904d\u5386list \uff0c\u7136\u540e\u5bfc\u51fa\u751f\u6210\u6587\u4ef6\u3002<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\"><strong style=\"outline: 0px;color: rgb(53, 179, 120);\">\u6838\u5fc3\u7684\u601d\u8def\u662f\u4ec0\u4e48 \uff1f<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u5176\u5b9e\u5c31\u8fd8\u662f\u5229\u7528csv\u6587\u4ef6\u7684\u5185\u5bb9\u683c\u5f0f\u672c\u8d28 \uff0c\u770b\u8fd9\u4e24\u5e45\u56fe \uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.630114566284779\" data-type=\"png\" data-w=\"611\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 611px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.630114566284779\" data-type=\"png\" data-w=\"611\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 611px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png\"  \/><\/noscript><\/figure>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.4766146993318486\" data-type=\"png\" data-w=\"449\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 449px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044434769.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4766146993318486\" data-type=\"png\" data-w=\"449\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 449px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044434769.png\"  \/><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 1.2em;margin-bottom: 1em;outline: 0px;font-weight: bold;font-size: 20px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(53, 179, 120);\">\u6211\u4eec\u8981\u5b9e\u73b0\u4e07\u80fd\u7684\u7c7b\u5bfc\u51faexcel \uff01\uff01\uff01<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u601d\u8def\u662f\u4ec0\u4e48 \uff1a<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 18px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: black;\">\u2460 \u6211\u4eec\u4ece\u4e0d\u786e\u5b9a\u7684\u7c7b \u7684\u96c6\u5408list \u4e2d\uff0c\u53d6\u51fa \u91cc\u9762\u7684\u7c7b\u3002<\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u53cd\u5c04\u4e00\u624b\uff0c\u62ff\u51fa\u91cc\u9762\u7684\u5c5e\u6027\u540d\uff0c \u505a\u7b2c\u4e00\u884c\u8868\u683c\u884c\u6807\u9898\u540d\u79f0\u62fc\u63a5\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;outline: 0px;font-weight: bold;font-size: 18px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: black;\">\u2461\u62fc\u63a5\u5185\u5bb9<\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u56e0\u4e3a\u7c7b\u4e0d\u786e\u5b9a\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u91c7\u53d6\u53cd\u5c04\u628a\u7c7b\u5168\u90e8\u5b57\u6bb5\u5c5e\u6027\u4f5c\u4e3akey\u4e22\u5230map\u91cc\u9762\uff0c\u540c\u65f6\u628a\u503c\u4e22\u5230value\u91cc\u9762\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u8fd9\u6837\u6211\u4eec\u62fc\u63a5\u5185\u5bb9\u7684\u65f6\u5019\u53ea\u9700\u8981\u6839\u636emap \u560e\u560e\u4e00\u987f\u904d\u5386\u62fc\u63a5\u5373\u53ef\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u63a8\u8350\u4e00\u4e2a\u5f00\u6e90\u514d\u8d39\u7684 Spring Boot \u6700\u5168\u6559\u7a0b\uff1a<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 10px 5px;padding: 10px 10px 10px 20px;outline: 0px;border-left-color: rgb(53, 179, 120);color: rgb(97, 97, 97);font-size: 0.9em;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;border-top: none;border-bottom: none;overflow: auto;border-right: 0px solid rgb(53, 179, 120);quotes: none;background: rgb(251, 249, 253);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;color: black;line-height: 26px;\">https:\/\/github.com\/javastacks\/spring-boot-best-practice<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\"><strong style=\"outline: 0px;color: rgb(53, 179, 120);\">1.\u4f9d\u8d56<\/strong><\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-size: 15px;letter-spacing: 0.75px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzI3ODcxMzQzMw==&amp;mid=2247566696&amp;idx=2&amp;sn=7ab7f0b5fd243e5834e34da9037df5b5&amp;chksm=eb51405edc26c94803ede8b9c0f8d155a4af2126a7668d0844fffbfd07abb1a1137ac563caae&amp;scene=21#wechat_redirect\" textvalue=\"1.\u4f9d\u8d56&lt;dependency&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.apache.poi&lt;\/groupId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;poi-ooxml&lt;\/artifactId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;3.15&lt;\/version&gt;&lt;\/dependency&gt;&lt;dependency&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.apache.poi&lt;\/groupId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;poi-scratchpad&lt;\/artifactId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;3.15&lt;\/version&gt;&lt;\/dependency&gt;&lt;dependency&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;com.alibaba&lt;\/groupId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;fastjson&lt;\/artifactId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;1.2.69&lt;\/version&gt;&lt;\/dependency&gt;&lt;dependency&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;commons-io&lt;\/groupId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;commons-io&lt;\/artifactId&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;2.5&lt;\/version&gt;&lt;\/dependency&gt;2. \u6838\u5fc3\u7684\u5de5\u5177\u7c7b\uff0c\u51fd\u6570\u6211\u90fd\u5c01\u88c5\u597d\u4e86MyCsvFileUtil.javaimport&nbsp;lombok.extern.slf4j.Slf4j;import&nbsp;org.apache.commons.io.IOUtils;import&nbsp;java.io.File;import&nbsp;java.io.FileOutputStream;import&nbsp;java.io.IOException;import&nbsp;java.io.OutputStreamWriter;import&nbsp;java.lang.reflect.Field;import&nbsp;java.lang.reflect.Method;import&nbsp;java.text.SimpleDateFormat;import&nbsp;java.util.*;\/**&nbsp;*&nbsp;@author&nbsp;JCccc&nbsp;*&nbsp;@Remark&nbsp;\u662f\u6211&nbsp;*\/@Slf4jpublic&nbsp;class&nbsp;MyCsvFileUtil&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;final&nbsp;String&nbsp;FILE_SUFFIX&nbsp;=&nbsp;&quot;.csv&quot;;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;final&nbsp;String&nbsp;CSV_DELIMITER&nbsp;=&nbsp;&quot;,&quot;;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;final&nbsp;String&nbsp;CSV_TAIL&nbsp;=&nbsp;&quot;rn&quot;;&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;static&nbsp;final&nbsp;String&nbsp;DATE_STR_FILE_NAME&nbsp;=&nbsp;&quot;yyyyMMddHHmmssSSS&quot;;&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u5c06\u5b57\u7b26\u4e32\u8f6c\u6210csv\u6587\u4ef6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;void&nbsp;createCsvFile(String&nbsp;savePath,&nbsp;String&nbsp;contextStr)&nbsp;throws&nbsp;IOException&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;file&nbsp;=&nbsp;new&nbsp;File(savePath);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/\u521b\u5efa\u6587\u4ef6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file.createNewFile();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/\u521b\u5efa\u6587\u4ef6\u8f93\u51fa\u6d41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOutputStream&nbsp;fileOutputStream&nbsp;=&nbsp;new&nbsp;FileOutputStream(file);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/\u5c06\u6307\u5b9a\u5b57\u8282\u5199\u5165\u6b64\u6587\u4ef6\u8f93\u51fa\u6d41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileOutputStream.write(contextStr.getBytes(&quot;gbk&quot;));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileOutputStream.flush();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileOutputStream.close();&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u5199\u6587\u4ef6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;fileName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;content&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;void&nbsp;writeFile(String&nbsp;fileName,&nbsp;String&nbsp;content)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileOutputStream&nbsp;fos&nbsp;=&nbsp;null;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OutputStreamWriter&nbsp;writer&nbsp;=&nbsp;null;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fos&nbsp;=&nbsp;new&nbsp;FileOutputStream(fileName,&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer&nbsp;=&nbsp;new&nbsp;OutputStreamWriter(fos,&nbsp;&quot;GBK&quot;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer.write(content);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer.flush();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(Exception&nbsp;e)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.error(&quot;\u5199\u6587\u4ef6\u5f02\u5e38|{}&quot;,&nbsp;e);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;finally&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(fos&nbsp;!=&nbsp;null)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IOUtils.closeQuietly(fos);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(writer&nbsp;!=&nbsp;null)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IOUtils.closeQuietly(writer);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u6784\u5efa\u6587\u4ef6\u540d\u79f0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;dataList&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;String&nbsp;buildCsvFileFileName(List&nbsp;dataList)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;dataList.get(0).getClass().getSimpleName()&nbsp;+&nbsp;new&nbsp;SimpleDateFormat(DATE_STR_FILE_NAME).format(new&nbsp;Date())&nbsp;+&nbsp;FILE_SUFFIX;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u6784\u5efaexcel&nbsp;\u6807\u9898\u884c\u540d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;dataList&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;String&nbsp;buildCsvFileTableNames(List&nbsp;dataList)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map&lt;String,&nbsp;Object&gt;&nbsp;map&nbsp;=&nbsp;toMap(dataList.get(0));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StringBuilder&nbsp;tableNames&nbsp;=&nbsp;new&nbsp;StringBuilder();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(String&nbsp;key&nbsp;:&nbsp;map.keySet())&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tableNames.append(key).append(MyCsvFileUtil.CSV_DELIMITER);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;tableNames.append(MyCsvFileUtil.CSV_TAIL).toString();&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u6784\u5efaexcel\u5185\u5bb9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;dataLists&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;String&nbsp;buildCsvFileBodyMap(List&nbsp;dataLists)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/\u4e0d\u7ba1\u4f60\u4f20\u4ec0\u4e48\u73a9\u610f\uff0c\u6211\u90fd\u7ed9\u4f60\u53cd\u5c04\u4e00\u624b\uff0c\u641e\u6210Map&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List&lt;Map&lt;String,&nbsp;Object&gt;&gt;&nbsp;mapList&nbsp;=&nbsp;new&nbsp;ArrayList&lt;&gt;();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(Object&nbsp;o&nbsp;:&nbsp;dataLists)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mapList.add(toMap(o));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/\u7136\u540e\u5229\u7528csv\u683c\u5f0f\uff0c\u5bf9\u7740map\u560e\u560e\u4e00\u987f\u62fc\u63a5\u6570\u636e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StringBuilder&nbsp;lineBuilder&nbsp;=&nbsp;new&nbsp;StringBuilder();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(Map&lt;String,&nbsp;Object&gt;&nbsp;rowData&nbsp;:&nbsp;mapList)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(String&nbsp;key&nbsp;:&nbsp;rowData.keySet())&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Object&nbsp;value&nbsp;=&nbsp;rowData.get(key);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(Objects.nonNull(value))&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lineBuilder.append(value).append(MyCsvFileUtil.CSV_DELIMITER);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lineBuilder.append(&quot;--&quot;).append(MyCsvFileUtil.CSV_DELIMITER);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lineBuilder.append(MyCsvFileUtil.CSV_TAIL);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;lineBuilder.toString();&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;\/**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;\u7c7b\u8f6cmap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;entity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&lt;T&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*\/&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&lt;T&gt;&nbsp;Map&lt;String,&nbsp;Object&gt;&nbsp;toMap(T&nbsp;entity){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class&lt;?&nbsp;extends&nbsp;Object&gt;&nbsp;bean&nbsp;=&nbsp;entity.getClass();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field[]&nbsp;fields&nbsp;=&nbsp;bean.getDeclaredFields();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map&lt;String,&nbsp;Object&gt;&nbsp;map&nbsp;=&nbsp;new&nbsp;HashMap&lt;&gt;(fields.length);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(Field&nbsp;field:fields){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!&quot;serialVersionUID&quot;.equals(field.getName())){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;methodName&nbsp;=&nbsp;&quot;get&quot;+field.getName().substring(0,&nbsp;1).toUpperCase()+field.getName().substring(1);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method&nbsp;method&nbsp;=&nbsp;bean.getDeclaredMethod(methodName);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Object&nbsp;fieldValue&nbsp;=&nbsp;method.invoke(entity);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;map.put(field.getName(),fieldValue);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(Exception&nbsp;e)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.warn(&quot;toMap()&nbsp;Exception={}&quot;,e.getMessage());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;map;&nbsp;&nbsp;&nbsp;&nbsp;}}\u4ee3\u7801\u6ce8\u610f\u70b9\uff08\u5404\u79cd\u5c0f\u5c01\u88c5\uff09\uff1a\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px; color: var(--weui-LINK); cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044519346.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(39, 40, 34);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(221, 221, 221);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(39, 40, 34);border-radius: 5px;\">String&nbsp;tableNames&nbsp;=&nbsp;MyCsvFileUtil.buildCsvFileTableNamesNew(&nbsp;MyCsvFileUtil.resolveExcelTableName(dataList.get(0)));<br style=\"outline: 0px;\"  \/><\/code><\/pre>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.20636550308008214\" data-type=\"png\" data-w=\"974\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 677px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044512420.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.20636550308008214\" data-type=\"png\" data-w=\"974\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 677px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044512420.png\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u6267\u884c\u4e00\u4e0b\u793a\u4f8b\u63a5\u53e3\uff0c\u770b\u770b\u6548\u679c\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.3893129770992366\" data-type=\"png\" data-w=\"524\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 524px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044516607.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3893129770992366\" data-type=\"png\" data-w=\"524\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 524px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044516607.png\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u6587\u4ef6\u51fa\u6765\u4e86:<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.46099290780141844\" data-type=\"png\" data-w=\"423\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 423px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044517181.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.46099290780141844\" data-type=\"png\" data-w=\"423\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 423px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044517181.png\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u6253\u5f00\u770b\u770b\u6548\u679c\uff1a<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(89, 89, 89);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 15px;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.469061876247505\" data-type=\"png\" data-w=\"501\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 501px !important;visibility: visible !important;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044518805.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.469061876247505\" data-type=\"png\" data-w=\"501\" style=\"margin-right: auto;margin-left: auto;outline: 0px;display: block;width: 501px !important;visibility: visible !important;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044518805.png\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em 4px;padding-top: 8px;padding-bottom: 8px;outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.75px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);font-size: 16px;line-height: 26px;color: black;\">\u597d\u4e86\uff0c\u5c31\u5230\u8fd9\u5427\uff0c\u975e\u5e38\u5b8c\u7f8e\u3002<\/p>\n<p><br  \/><\/p>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 CSCD\u5fae\u8ba2\u9605              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u73a9\u6cd5\u5f88\u7b80\u5355\u3002 \u8981\u5b9e\u73b0\u7684\u6548\u679c \uff1a \u7c7b\u662f\u4e0d\u786e\u5b9a\u7684 \uff0cUser \uff1fStudent ? &nbsp;District ? &nbsp;\u4e0d\u786e &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1673,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-1695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044432564.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044433683.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044434769.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044434769.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044512420.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044512420.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044516607.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044516607.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044517181.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044517181.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044518805.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528044518805.png","id":"image11"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2023-06-19","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":267,"next_post_id":2044,"next_post_title":"Springboot\u96c6\u5408Redis\u5b9e\u73b0\u63a5\u53e3\u91cd\u590d\u63d0\u4ea4","previous_post_id":1231,"previous_post_title":"SpringBoot \u7cfb\u5217\u6559\u7a0b\u4e4b\u5b9a\u4e49\u63a5\u53e3\u8fd4\u56de\u7c7b\u578b\u7684\u51e0\u79cd\u65b9\u5f0f","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/1673"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}