{"id":1023,"date":"2023-05-28T02:28:29","date_gmt":"2023-05-27T18:28:29","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=1023"},"modified":"2023-05-28T02:28:29","modified_gmt":"2023-05-27T18:28:29","slug":"spring-boot%e5%ae%9e%e7%8e%b0%e5%88%86%e7%89%87%e4%b8%8a%e4%bc%a0%e3%80%81%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e3%80%81%e5%a4%a7%e6%96%87%e4%bb%b6%e6%9e%81%e9%80%9f%e7%a7%92%e4%bc%a0","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/spring-boot%e5%ae%9e%e7%8e%b0%e5%88%86%e7%89%87%e4%b8%8a%e4%bc%a0%e3%80%81%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e3%80%81%e5%a4%a7%e6%96%87%e4%bb%b6%e6%9e%81%e9%80%9f%e7%a7%92%e4%bc%a0\/","title":{"rendered":"Spring Boot\u5b9e\u73b0\u5206\u7247\u4e0a\u4f20\u3001\u65ad\u70b9\u7eed\u4f20\u3001\u5927\u6587\u4ef6\u6781\u901f\u79d2\u4f20"},"content":{"rendered":"<div class='wxsyncmain'>\n<p style=\"text-align: left;\"><span style=\"color: rgb(136, 136, 136);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;background-color: rgb(255, 255, 255);\">\u539f\u6587\uff1a<\/span><span style=\"background-color: rgb(255, 255, 255);color: rgb(136, 136, 136);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;\">blog.csdn.ne<\/span><span style=\"background-color: rgb(255, 255, 255);color: rgb(136, 136, 136);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;\">t\/zhiyikeji\/article\/details\/128242775<\/span><\/p>\n<section><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weui-theme=\"light\" data-id=\"MjM5NDQ4MzA1Nw==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/7OPxOA8ic5m8iaZhZuawOQpg1kY6p7DsNdHYUDLY6XBfZYualr95vI5BKic0SbnZ7lzkibwdTfLmFkx9flmoEvLQiaQ\/0?wx_fmt=png\" data-nickname=\"IT\u725b\u5ba2\" data-alias=\"\" data-signature=\"\u4e13\u6ce8\u4e8eIT\u6280\u672f\u5206\u4eab\uff0c\u539f\u521b\u6280\u672f\u548c\u521b\u65b0\u6280\u672f\u5206\u4eab\uff0cIT\u725b\u5ba2\uff0c\u6211\u4eec\u4e00\u8d77\u8fdb\u6b65\u2026\u2026\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u6587\u4ef6\u4e0a\u4f20\u662f\u4e00\u4e2a\u8001\u751f\u5e38\u8c08\u7684\u8bdd\u9898\u4e86\uff0c\u5728\u6587\u4ef6\u76f8\u5bf9\u6bd4\u8f83\u5c0f\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u76f4\u63a5\u628a\u6587\u4ef6\u8f6c\u5316\u4e3a\u5b57\u8282\u6d41\u4e0a\u4f20\u5230\u670d\u52a1\u5668\uff0c\u4f46\u5728\u6587\u4ef6\u6bd4\u8f83\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u7528\u666e\u901a\u7684\u65b9\u5f0f\u8fdb\u884c\u4e0a\u4f20\uff0c\u8fd9\u53ef\u4e0d\u662f\u4e00\u4e2a\u597d\u7684\u529e\u6cd5\uff0c\u6bd5\u7adf\u5f88\u5c11\u6709\u4eba\u4f1a\u5fcd\u53d7\uff0c\u5f53\u6587\u4ef6\u4e0a\u4f20\u5230\u4e00\u534a\u4e2d\u65ad\u540e\uff0c\u7ee7\u7eed\u4e0a\u4f20\u5374\u53ea\u80fd\u91cd\u5934\u5f00\u59cb\u4e0a\u4f20\uff0c\u8fd9\u79cd\u8ba9\u4eba\u4e0d\u723d\u7684\u4f53\u9a8c\u3002\u90a3\u6709\u6ca1\u6709\u6bd4\u8f83\u597d\u7684\u4e0a\u4f20\u4f53\u9a8c\u5462\uff0c\u7b54\u6848\u6709\u7684\uff0c\u5c31\u662f\u4e0b\u8fb9\u8981\u4ecb\u7ecd\u7684\u51e0\u79cd\u4e0a\u4f20\u65b9\u5f0f<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 22px;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(0, 150, 136);border-left: 3px solid rgb(0, 150, 136);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1.\u5206\u7247\u4e0a\u4f20<\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1.1 \u4ec0\u4e48\u662f\u5206\u7247\u4e0a\u4f20<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5206\u7247\u4e0a\u4f20\uff0c\u5c31\u662f\u5c06\u6240\u8981\u4e0a\u4f20\u7684\u6587\u4ef6\uff0c\u6309\u7167\u4e00\u5b9a\u7684\u5927\u5c0f\uff0c\u5c06\u6574\u4e2a\u6587\u4ef6\u5206\u9694\u6210\u591a\u4e2a\u6570\u636e\u5757\uff08\u6211\u4eec\u79f0\u4e4b\u4e3aPart\uff09\u6765\u8fdb\u884c\u5206\u522b\u4e0a\u4f20\uff0c\u4e0a\u4f20\u5b8c\u4e4b\u540e\u518d\u7531\u670d\u52a1\u7aef\u5bf9\u6240\u6709\u4e0a\u4f20\u7684\u6587\u4ef6\u8fdb\u884c\u6c47\u603b\u6574\u5408\u6210\u539f\u59cb\u7684\u6587\u4ef6\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1.2 \u5206\u7247\u4e0a\u4f20\u7684\u573a\u666f<\/h3>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);visibility: visible;overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5927\u6587\u4ef6\u4e0a\u4f20<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u7f51\u7edc\u73af\u5883\u73af\u5883\u4e0d\u597d\uff0c\u5b58\u5728\u9700\u8981\u91cd\u4f20\u98ce\u9669\u7684\u573a\u666f<\/section>\n<\/li>\n<\/ol>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 22px;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(0, 150, 136);border-left: 3px solid rgb(0, 150, 136);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">2.\u65ad\u70b9\u7eed\u4f20<\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">2.1 \u4ec0\u4e48\u662f\u65ad\u70b9\u7eed\u4f20<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u65ad\u70b9\u7eed\u4f20\u662f\u5728\u4e0b\u8f7d\u6216\u4e0a\u4f20\u65f6\uff0c\u5c06\u4e0b\u8f7d\u6216\u4e0a\u4f20\u4efb\u52a1\uff08\u4e00\u4e2a\u6587\u4ef6\u6216\u4e00\u4e2a\u538b\u7f29\u5305\uff09\u4eba\u4e3a\u7684\u5212\u5206\u4e3a\u51e0\u4e2a\u90e8\u5206\uff0c\u6bcf\u4e00\u4e2a\u90e8\u5206\u91c7\u7528\u4e00\u4e2a\u7ebf\u7a0b\u8fdb\u884c\u4e0a\u4f20\u6216\u4e0b\u8f7d\uff0c\u5982\u679c\u78b0\u5230\u7f51\u7edc\u6545\u969c\uff0c\u53ef\u4ee5\u4ece\u5df2\u7ecf\u4e0a\u4f20\u6216\u4e0b\u8f7d\u7684\u90e8\u5206\u5f00\u59cb\u7ee7\u7eed\u4e0a\u4f20\u6216\u8005\u4e0b\u8f7d\u672a\u5b8c\u6210\u7684\u90e8\u5206\uff0c\u800c\u6ca1\u6709\u5fc5\u8981\u4ece\u5934\u5f00\u59cb\u4e0a\u4f20\u6216\u8005\u4e0b\u8f7d\u3002<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 20px;margin-bottom: 20px;padding: 10px 10px 10px 1em;outline: 0px;border-left-width: 2px;border-left-color: rgb(136, 136, 136);color: rgb(119, 119, 119);font-size: 0.9em;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;border-top: none;border-bottom: none;overflow: auto;background: rgba(0, 0, 0, 0.05);border-right: 2px solid rgb(136, 136, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;font-size: 16px;text-align: left;color: black;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u672c\u6587\u7684\u65ad\u70b9\u7eed\u4f20\u4e3b\u8981\u662f\u9488\u5bf9\u65ad\u70b9\u4e0a\u4f20\u573a\u666f\u3002<\/p>\n<\/blockquote>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">2.2 \u5e94\u7528\u573a\u666f<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u65ad\u70b9\u7eed\u4f20\u53ef\u4ee5\u770b\u6210\u662f\u5206\u7247\u4e0a\u4f20\u7684\u4e00\u4e2a\u884d\u751f\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528\u5206\u7247\u4e0a\u4f20\u7684\u573a\u666f\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528\u65ad\u70b9\u7eed\u4f20\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">2.3 \u5b9e\u73b0\u65ad\u70b9\u7eed\u4f20\u7684\u6838\u5fc3\u903b\u8f91<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5728\u5206\u7247\u4e0a\u4f20\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u56e0\u4e3a\u7cfb\u7edf\u5d29\u6e83\u6216\u8005\u7f51\u7edc\u4e2d\u65ad\u7b49\u5f02\u5e38\u56e0\u7d20\u5bfc\u81f4\u4e0a\u4f20\u4e2d\u65ad\uff0c\u8fd9\u65f6\u5019\u5ba2\u6237\u7aef\u9700\u8981\u8bb0\u5f55\u4e0a\u4f20\u7684\u8fdb\u5ea6\u3002\u5728\u4e4b\u540e\u652f\u6301\u518d\u6b21\u4e0a\u4f20\u65f6\uff0c\u53ef\u4ee5\u7ee7\u7eed\u4ece\u4e0a\u6b21\u4e0a\u4f20\u4e2d\u65ad\u7684\u5730\u65b9\u8fdb\u884c\u7ee7\u7eed\u4e0a\u4f20\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u4e3a\u4e86\u907f\u514d\u5ba2\u6237\u7aef\u5728\u4e0a\u4f20\u4e4b\u540e\u7684\u8fdb\u5ea6\u6570\u636e\u88ab\u5220\u9664\u800c\u5bfc\u81f4\u91cd\u65b0\u5f00\u59cb\u4ece\u5934\u4e0a\u4f20\u7684\u95ee\u9898\uff0c\u670d\u52a1\u7aef\u4e5f\u53ef\u4ee5\u63d0\u4f9b\u76f8\u5e94\u7684\u63a5\u53e3\u4fbf\u4e8e\u5ba2\u6237\u7aef\u5bf9\u5df2\u7ecf\u4e0a\u4f20\u7684\u5206\u7247\u6570\u636e\u8fdb\u884c\u67e5\u8be2\uff0c\u4ece\u800c\u4f7f\u5ba2\u6237\u7aef\u77e5\u9053\u5df2\u7ecf\u4e0a\u4f20\u7684\u5206\u7247\u6570\u636e\uff0c\u4ece\u800c\u4ece\u4e0b\u4e00\u4e2a\u5206\u7247\u6570\u636e\u5f00\u59cb\u7ee7\u7eed\u4e0a\u4f20\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u6574\u4f53\u7684\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u524d\u7aef\u5c06\u6587\u4ef6\u5b89\u88c5\u767e\u5206\u6bd4\u8fdb\u884c\u8ba1\u7b97,\u6bcf\u6b21\u4e0a\u4f20\u6587\u4ef6\u7684\u767e\u5206\u4e4b\u4e00(\u6587\u4ef6\u5206\u7247),\u7ed9\u6587\u4ef6\u5206\u7247\u505a\u4e0a\u5e8f\u53f7<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u540e\u7aef\u5c06\u524d\u7aef\u6bcf\u6b21\u4e0a\u4f20\u7684\u6587\u4ef6,\u653e\u5165\u5230\u7f13\u5b58\u76ee\u5f55<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u7b49\u5f85\u524d\u7aef\u5c06\u5168\u90e8\u7684\u6587\u4ef6\u5185\u5bb9\u90fd\u4e0a\u4f20\u5b8c\u6bd5\u540e,\u53d1\u9001\u4e00\u4e2a\u5408\u5e76\u8bf7\u6c42<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u540e\u7aef\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u8fdb\u591a\u7ebf\u7a0b\u8bfb\u53d6\u6240\u6709\u7684\u5206\u7247\u6587\u4ef6,\u4e00\u4e2a\u7ebf\u7a0b\u4e00\u4e2a\u5206\u7247<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u540e\u7aef\u6bcf\u4e2a\u7ebf\u7a0b\u6309\u7167\u5e8f\u53f7\u5c06\u5206\u7247\u7684\u6587\u4ef6\u5199\u5165\u5230\u76ee\u6807\u6587\u4ef6\u4e2d<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5728\u4e0a\u4f20\u6587\u4ef6\u7684\u8fc7\u7a0b\u4e2d\u53d1\u751f\u65ad\u7f51\u4e86\u6216\u8005\u624b\u52a8\u6682\u505c\u4e86,\u4e0b\u6b21\u4e0a\u4f20\u7684\u65f6\u5019\u53d1\u9001\u7eed\u4f20\u8bf7\u6c42,\u8ba9\u540e\u7aef\u5220\u9664\u6700\u540e\u4e00\u4e2a\u5206\u7247<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u524d\u7aef\u91cd\u65b0\u53d1\u9001\u4e0a\u6b21\u7684\u6587\u4ef6\u5206\u7247<\/section>\n<\/li>\n<\/ol>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">2.4 \u5b9e\u73b0\u6d41\u7a0b\u6b65\u9aa4<\/h3>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u65b9\u6848\u4e00\uff0c\u5e38\u89c4\u6b65\u9aa4<\/h4>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5c06\u9700\u8981\u4e0a\u4f20\u7684\u6587\u4ef6\u6309\u7167\u4e00\u5b9a\u7684\u5206\u5272\u89c4\u5219\uff0c\u5206\u5272\u6210\u76f8\u540c\u5927\u5c0f\u7684\u6570\u636e\u5757\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u521d\u59cb\u5316\u4e00\u4e2a\u5206\u7247\u4e0a\u4f20\u4efb\u52a1\uff0c\u8fd4\u56de\u672c\u6b21\u5206\u7247\u4e0a\u4f20\u552f\u4e00\u6807\u8bc6\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u6309\u7167\u4e00\u5b9a\u7684\u7b56\u7565\uff08\u4e32\u884c\u6216\u5e76\u884c\uff09\u53d1\u9001\u5404\u4e2a\u5206\u7247\u6570\u636e\u5757\uff1b<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u53d1\u9001\u5b8c\u6210\u540e\uff0c\u670d\u52a1\u7aef\u6839\u636e\u5224\u65ad\u6570\u636e\u4e0a\u4f20\u662f\u5426\u5b8c\u6574\uff0c\u5982\u679c\u5b8c\u6574\uff0c\u5219\u8fdb\u884c\u6570\u636e\u5757\u5408\u6210\u5f97\u5230\u539f\u59cb\u6587\u4ef6\u3002<\/section>\n<\/li>\n<\/ol>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u65b9\u6848\u4e8c\u3001\u672c\u6587\u5b9e\u73b0\u7684\u6b65\u9aa4<\/h4>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u524d\u7aef\uff08\u5ba2\u6237\u7aef\uff09\u9700\u8981\u6839\u636e\u56fa\u5b9a\u5927\u5c0f\u5bf9\u6587\u4ef6\u8fdb\u884c\u5206\u7247\uff0c\u8bf7\u6c42\u540e\u7aef\uff08\u670d\u52a1\u7aef\uff09\u65f6\u8981\u5e26\u4e0a\u5206\u7247\u5e8f\u53f7\u548c\u5927\u5c0f\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u670d\u52a1\u7aef\u521b\u5efaconf\u6587\u4ef6\u7528\u6765\u8bb0\u5f55\u5206\u5757\u4f4d\u7f6e\uff0cconf\u6587\u4ef6\u957f\u5ea6\u4e3a\u603b\u5206\u7247\u6570\uff0c\u6bcf\u4e0a\u4f20\u4e00\u4e2a\u5206\u5757\u5373\u5411conf\u6587\u4ef6\u4e2d\u5199\u5165\u4e00\u4e2a127\uff0c\u90a3\u4e48\u6ca1\u4e0a\u4f20\u7684\u4f4d\u7f6e\u5c31\u662f\u9ed8\u8ba4\u76840,\u5df2\u4e0a\u4f20\u7684\u5c31\u662f<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">Byte.MAX_VALUE 127<\/code>\uff08\u8fd9\u6b65\u662f\u5b9e\u73b0\u65ad\u70b9\u7eed\u4f20\u548c\u79d2\u4f20\u7684\u6838\u5fc3\u6b65\u9aa4\uff09<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u670d\u52a1\u5668\u6309\u7167\u8bf7\u6c42\u6570\u636e\u4e2d\u7ed9\u7684\u5206\u7247\u5e8f\u53f7\u548c\u6bcf\u7247\u5206\u5757\u5927\u5c0f\uff08\u5206\u7247\u5927\u5c0f\u662f\u56fa\u5b9a\u4e14\u4e00\u6837\u7684\uff09\u7b97\u51fa\u5f00\u59cb\u4f4d\u7f6e\uff0c\u4e0e\u8bfb\u53d6\u5230\u7684\u6587\u4ef6\u7247\u6bb5\u6570\u636e\uff0c\u5199\u5165\u6587\u4ef6\u3002<\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u6574\u4f53\u7684\u5b9e\u73b0\u6d41\u7a0b\u5982\u4e0b\uff1a<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"1.2176234979973297\"  data-type=\"png\" data-w=\"749\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.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=\"1.2176234979973297\"  data-type=\"png\" data-w=\"749\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.png\"  \/><\/noscript><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 22px;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(0, 150, 136);border-left: 3px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">3.\u5206\u7247\u4e0a\u4f20\/\u65ad\u70b9\u4e0a\u4f20\u4ee3\u7801\u5b9e\u73b0<\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">3.1 \u524d\u7aef\u5b9e\u73b0<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u524d\u7aef\u7684File\u5bf9\u8c61\u662f\u7279\u6b8a\u7c7b\u578b\u7684Blob\uff0c\u4e14\u53ef\u4ee5\u7528\u5728\u4efb\u610f\u7684Blob\u7c7b\u578b\u7684\u4e0a\u4e0b\u6587\u4e2d\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5c31\u662f\u8bf4\u80fd\u591f\u5904\u7406Blob\u5bf9\u8c61\u7684\u65b9\u6cd5\u4e5f\u80fd\u5904\u7406File\u5bf9\u8c61\u3002\u5728Blob\u7684\u65b9\u6cd5\u91cc\u6709\u6709\u4e00\u4e2aSlice\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u5b8c\u6210\u5207\u7247\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u6838\u5fc3\u4ee3\u7801\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">fileMD5&nbsp;(files)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/&nbsp;\u8ba1\u7b97\u6587\u4ef6md5<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;&nbsp;Promise((resolve,reject)&nbsp;=&gt;&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">const<\/span>&nbsp;fileReader&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;FileReader();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">const<\/span>&nbsp;piece&nbsp;=&nbsp;Math.ceil(files.size&nbsp;\/&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.pieceSize);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">const<\/span>&nbsp;nextPiece&nbsp;=&nbsp;()&nbsp;=&gt;&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;start&nbsp;=&nbsp;currentPieces&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.pieceSize;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;end&nbsp;=&nbsp;start&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.pieceSize&nbsp;&gt;=&nbsp;files.size&nbsp;?&nbsp;files.size&nbsp;:&nbsp;start&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.pieceSize;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileReader.readAsArrayBuffer(files.slice(start,end));<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;};<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;currentPieces&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileReader.onload&nbsp;=&nbsp;(event)&nbsp;=&gt;&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;e&nbsp;=&nbsp;window.event&nbsp;||&nbsp;event;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.spark.append(e.target.result);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currentPieces++<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(currentPieces&nbsp;&lt;&nbsp;piece)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nextPiece()<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">else<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resolve({fileName:&nbsp;files.name,&nbsp;fileMd5:&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.spark.end()})<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/&nbsp;fileReader.onerror&nbsp;=&nbsp;(err&nbsp;=&gt;&nbsp;{&nbsp;reject(err)&nbsp;})<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;nextPiece()<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;})<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5f53\u7136\u5982\u679c\u6211\u4eec\u662fvue\u9879\u76ee\u7684\u8bdd\u8fd8\u6709\u66f4\u597d\u7684\u9009\u62e9\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5f00\u6e90\u7684\u6846\u67b6\uff0c\u672c\u6587\u63a8\u8350\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">vue-simple-uploader&nbsp;<\/code>\u5b9e\u73b0\u6587\u4ef6\u5206\u7247\u4e0a\u4f20\u3001\u65ad\u70b9\u7eed\u4f20\u53ca\u79d2\u4f20\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5f53\u7136\u6211\u4eec\u4e5f\u53ef\u4ee5\u91c7\u7528\u767e\u5ea6\u63d0\u4f9b\u7684<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">webuploader<\/code>\u7684\u63d2\u4ef6\uff0c\u8fdb\u884c\u5206\u7247\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u64cd\u4f5c\u65b9\u5f0f\u4e5f\u7279\u522b\u7b80\u5355\uff0c\u76f4\u63a5\u6309\u7167\u5b98\u65b9\u6587\u6863\u7ed9\u51fa\u7684\u64cd\u4f5c\u8fdb\u884c\u5373\u53ef\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">webuploader\u5b98\u65b9\u6587\u6863\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">http:\/\/fex.baidu.com\/webuploader\/getting-started.html<\/section>\n<\/li>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">3.2 \u540e\u7aef\u5199\u5165\u6587\u4ef6<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u540e\u7aef\u7528\u4e24\u79cd\u65b9\u5f0f\u5b9e\u73b0\u6587\u4ef6\u5199\u5165\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">RandomAccessFile<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">MappedByteBuffer<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5728\u5411\u4e0b\u5b66\u4e60\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u7b80\u5355\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e24\u4e2a\u7c7b\u7684\u4f7f\u7528<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">Java\u9664\u4e86File\u7c7b\u4e4b\u5916\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e13\u95e8\u5904\u7406\u6587\u4ef6\u7684\u7c7b\uff0c\u5373<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\uff08\u968f\u673a\u8bbf\u95ee\u6587\u4ef6\uff09\u7c7b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u8be5\u7c7b\u662fJava\u8bed\u8a00\u4e2d\u529f\u80fd\u6700\u4e3a\u4e30\u5bcc\u7684\u6587\u4ef6\u8bbf\u95ee\u7c7b\uff0c\u5b83\u63d0\u4f9b\u4e86\u4f17\u591a\u7684\u6587\u4ef6\u8bbf\u95ee\u65b9\u6cd5\u3002<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u7c7b\u652f\u6301\u201c\u968f\u673a\u8bbf\u95ee\u201d\u65b9\u5f0f\uff0c\u8fd9\u91cc\u201c\u968f\u673a\u201d\u662f\u6307\u53ef\u4ee5\u8df3\u8f6c\u5230\u6587\u4ef6\u7684\u4efb\u610f\u4f4d\u7f6e\u5904\u8bfb\u5199\u6570\u636e\u3002\u5728\u8bbf\u95ee\u4e00\u4e2a\u6587\u4ef6\u7684\u65f6\u5019\uff0c\u4e0d\u5fc5\u628a\u6587\u4ef6\u4ece\u5934\u8bfb\u5230\u5c3e\uff0c\u800c\u662f\u5e0c\u671b\u50cf\u8bbf\u95ee\u4e00\u4e2a\u6570\u636e\u5e93\u4e00\u6837\u201c\u968f\u5fc3\u6240\u6b32\u201d\u5730\u8bbf\u95ee\u4e00\u4e2a\u6587\u4ef6\u7684\u67d0\u4e2a\u90e8\u5206\uff0c\u8fd9\u65f6\u4f7f\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u7c7b\u5c31\u662f\u6700\u4f73\u9009\u62e9\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u5bf9\u8c61\u7c7b\u6709\u4e2a\u4f4d\u7f6e\u6307\u793a\u5668\uff0c\u6307\u5411\u5f53\u524d\u8bfb\u5199\u5904\u7684\u4f4d\u7f6e\uff0c\u5f53\u524d\u8bfb\u5199n\u4e2a\u5b57\u8282\u540e\uff0c\u6587\u4ef6\u6307\u793a\u5668\u5c06\u6307\u5411\u8fd9n\u4e2a\u5b57\u8282\u540e\u9762\u7684\u4e0b\u4e00\u4e2a\u5b57\u8282\u5904\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u521a\u6253\u5f00\u6587\u4ef6\u65f6\uff0c\u6587\u4ef6\u6307\u793a\u5668\u6307\u5411\u6587\u4ef6\u7684\u5f00\u5934\u5904\uff0c\u53ef\u4ee5\u79fb\u52a8\u6587\u4ef6\u6307\u793a\u5668\u5230\u65b0\u7684\u4f4d\u7f6e\uff0c\u968f\u540e\u7684\u8bfb\u5199\u64cd\u4f5c\u5c06\u4ece\u65b0\u7684\u4f4d\u7f6e\u5f00\u59cb\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u7c7b\u5728\u6570\u636e\u7b49\u957f\u8bb0\u5f55\u683c\u5f0f\u6587\u4ef6\u7684\u968f\u673a\uff08\u76f8\u5bf9\u987a\u5e8f\u800c\u8a00\uff09\u8bfb\u53d6\u65f6\u6709\u5f88\u5927\u7684\u4f18\u52bf\uff0c\u4f46\u8be5\u7c7b\u4ec5\u9650\u4e8e\u64cd\u4f5c\u6587\u4ef6\uff0c\u4e0d\u80fd\u8bbf\u95ee\u5176\u4ed6\u7684I\/O\u8bbe\u5907\uff0c\u5982\u7f51\u7edc\u3001\u5185\u5b58\u6620\u50cf\u7b49\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile<\/code>\u7c7b\u7684\u6784\u9020\u65b9\u6cd5\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u521b\u5efa\u968f\u673a\u5b58\u50a8\u6587\u4ef6\u6d41\uff0c\u6587\u4ef6\u5c5e\u6027\u7531\u53c2\u6570File\u5bf9\u8c61\u6307\u5b9a<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>RandomAccessFile(File&nbsp;file&nbsp;,&nbsp;&nbsp;String&nbsp;mode)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u521b\u5efa\u968f\u673a\u5b58\u50a8\u6587\u4ef6\u6d41\uff0c\u6587\u4ef6\u540d\u7531\u53c2\u6570name\u6307\u5b9a<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>RandomAccessFile(String&nbsp;name&nbsp;,&nbsp;&nbsp;String&nbsp;mode)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u8fd9\u4e24\u4e2a\u6784\u9020\u65b9\u6cd5\u5747\u6d89\u53ca\u5230\u4e00\u4e2aString\u7c7b\u578b\u7684\u53c2\u6570mode\uff0c\u5b83\u51b3\u5b9a\u968f\u673a\u5b58\u50a8\u6587\u4ef6\u6d41\u7684\u64cd\u4f5c\u6a21\u5f0f\uff0c\u5176\u4e2dmode\u503c\u53ca\u5bf9\u5e94\u7684\u542b\u4e49\u5982\u4e0b\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><strong style=\"outline: 0px;max-width: 100%;color: black;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u201cr\u201d\uff1a<\/strong>&nbsp;\u4ee5\u53ea\u8bfb\u7684\u65b9\u5f0f\u6253\u5f00\uff0c\u8c03\u7528\u8be5\u5bf9\u8c61\u7684\u4efb\u4f55write\uff08\u5199\uff09\u65b9\u6cd5\u90fd\u4f1a\u5bfc\u81f4IOException\u5f02\u5e38<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><strong style=\"outline: 0px;max-width: 100%;color: black;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u201crw\u201d\uff1a<\/strong>&nbsp;\u4ee5\u8bfb\u3001\u5199\u65b9\u5f0f\u6253\u5f00\uff0c\u652f\u6301\u6587\u4ef6\u7684\u8bfb\u53d6\u6216\u5199\u5165\u3002\u82e5\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u5219\u521b\u5efa\u4e4b\u3002<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><strong style=\"outline: 0px;max-width: 100%;color: black;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u201crws\u201d\uff1a<\/strong>&nbsp;\u4ee5\u8bfb\u3001\u5199\u65b9\u5f0f\u6253\u5f00\uff0c\u4e0e\u201crw\u201d\u4e0d\u540c\u7684\u662f\uff0c\u8fd8\u8981\u5bf9\u6587\u4ef6\u5185\u5bb9\u7684\u6bcf\u6b21\u66f4\u65b0\u90fd\u540c\u6b65\u66f4\u65b0\u5230\u6f5c\u5728\u7684\u5b58\u50a8\u8bbe\u5907\u4e2d\u53bb\u3002\u8fd9\u91cc\u7684\u201cs\u201d\u8868\u793asynchronous\uff08\u540c\u6b65\uff09\u7684\u610f\u601d<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><strong style=\"outline: 0px;max-width: 100%;color: black;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u201crwd\u201d\uff1a<\/strong>&nbsp;\u4ee5\u8bfb\u3001\u5199\u65b9\u5f0f\u6253\u5f00\uff0c\u4e0e\u201crw\u201d\u4e0d\u540c\u7684\u662f\uff0c\u8fd8\u8981\u5bf9\u6587\u4ef6\u5185\u5bb9\u7684\u6bcf\u6b21\u66f4\u65b0\u90fd\u540c\u6b65\u66f4\u65b0\u5230\u6f5c\u5728\u7684\u5b58\u50a8\u8bbe\u5907\u4e2d\u53bb\u3002\u4f7f\u7528\u201crwd\u201d\u6a21\u5f0f\u4ec5\u8981\u6c42\u5c06\u6587\u4ef6\u7684\u5185\u5bb9\u66f4\u65b0\u5230\u5b58\u50a8\u8bbe\u5907\u4e2d\uff0c\u800c\u4f7f\u7528\u201crws\u201d\u6a21\u5f0f\u9664\u4e86\u66f4\u65b0\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u8fd8\u8981\u66f4\u65b0\u6587\u4ef6\u7684\u5143\u6570\u636e\uff08metadata\uff09\uff0c\u56e0\u6b64\u81f3\u5c11\u8981\u6c421\u6b21\u4f4e\u7ea7\u522b\u7684I\/O\u64cd\u4f5c<\/section>\n<\/li>\n<\/ul>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">import<\/span>&nbsp;java.io.RandomAccessFile;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">import<\/span>&nbsp;java.nio.charset.StandardCharsets;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomFileTest<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">static<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">final<\/span>&nbsp;String&nbsp;filePath&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"C:\\Users\\NineSun\\Desktop\\employee.txt\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">static<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">void<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">main<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(String[]&nbsp;args)<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">throws<\/span>&nbsp;Exception&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Employee&nbsp;e1&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;Employee(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"zhangsan\"<\/span>,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">23<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Employee&nbsp;e2&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;Employee(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"lisi\"<\/span>,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">24<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Employee&nbsp;e3&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;Employee(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"wangwu\"<\/span>,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">25<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RandomAccessFile&nbsp;ra&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;RandomAccessFile(filePath,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"rw\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.write(e1.name.getBytes(StandardCharsets.UTF_8));<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u9632\u6b62\u5199\u5165\u6587\u4ef6\u4e71\u7801<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.writeInt(e1.age);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.write(e2.name.getBytes());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.writeInt(e2.age);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.write(e3.name.getBytes());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.writeInt(e3.age);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ra.close();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RandomAccessFile&nbsp;raf&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;RandomAccessFile(filePath,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"r\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;len&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">8<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;raf.skipBytes(<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">12<\/span>);<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u8df3\u8fc7\u7b2c\u4e00\u4e2a\u5458\u5de5\u7684\u4fe1\u606f\uff0c\u5176\u59d3\u540d8\u5b57\u8282\uff0c\u5e74\u9f844\u5b57\u8282<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\u7b2c\u4e8c\u4e2a\u5458\u5de5\u4fe1\u606f\uff1a\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;str&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">for<\/span>&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;i&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;&nbsp;i&nbsp;&lt;&nbsp;len;&nbsp;i++)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str&nbsp;=&nbsp;str&nbsp;+&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">char<\/span>)&nbsp;raf.readByte();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"name:\"<\/span>&nbsp;+&nbsp;str);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"age:\"<\/span>&nbsp;+&nbsp;raf.readInt());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\u7b2c\u4e00\u4e2a\u5458\u5de5\u4fe1\u606f\uff1a\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;raf.seek(<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>);<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u5c06\u6587\u4ef6\u6307\u9488\u79fb\u52a8\u5230\u6587\u4ef6\u5f00\u59cb\u4f4d\u7f6e<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">for<\/span>&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;i&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;&nbsp;i&nbsp;&lt;&nbsp;len;&nbsp;i++)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str&nbsp;=&nbsp;str&nbsp;+&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">char<\/span>)&nbsp;raf.readByte();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"name:\"<\/span>&nbsp;+&nbsp;str);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"age:\"<\/span>&nbsp;+&nbsp;raf.readInt());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\u7b2c\u4e09\u4e2a\u5458\u5de5\u4fe1\u606f\uff1a\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;raf.skipBytes(<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">12<\/span>);<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u8df3\u8fc7\u7b2c\u4e8c\u4e2a\u5458\u5de5\u7684\u4fe1\u606f<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">for<\/span>&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;i&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;&nbsp;i&nbsp;&lt;&nbsp;len;&nbsp;i++)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str&nbsp;=&nbsp;str&nbsp;+&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">char<\/span>)&nbsp;raf.readByte();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"name:\"<\/span>&nbsp;+&nbsp;str);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"age:\"<\/span>&nbsp;+&nbsp;raf.readInt());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;raf.close();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">Employee<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;name;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;age;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">final<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">static<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;LEN&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">8<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">Employee<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(String&nbsp;name,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;age)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(name.length()&nbsp;&gt;&nbsp;LEN)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;=&nbsp;name.substring(<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">8<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">else<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">while<\/span>&nbsp;(name.length()&nbsp;&lt;&nbsp;LEN)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;=&nbsp;name&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"u0000\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.name&nbsp;=&nbsp;name;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.age&nbsp;=&nbsp;age;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">MappedByteBuffer<\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">java io\u64cd\u4f5c\u4e2d\u901a\u5e38\u91c7\u7528<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">BufferedReader<\/code>\uff0c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">BufferedInputStream<\/code>\u7b49\u5e26\u7f13\u51b2\u7684IO\u7c7b\u5904\u7406\u5927\u6587\u4ef6\uff0c\u4e0d\u8fc7java nio\u4e2d\u5f15\u5165\u4e86\u4e00\u79cd\u57fa\u4e8e<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;max-width: 100%;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">MappedByteBuffer<\/code>\u64cd\u4f5c\u5927\u6587\u4ef6\u7684\u65b9\u5f0f\uff0c\u5176\u8bfb\u5199\u6027\u80fd\u6781\u9ad8<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">3.3 \u8fdb\u884c\u5199\u5165\u64cd\u4f5c\u7684\u6838\u5fc3\u4ee3\u7801<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u4e3a\u4e86\u8282\u7ea6\u6587\u7ae0\u7bc7\u5e45\uff0c\u4e0b\u9762\u6211\u53ea\u5c55\u793a\u6838\u5fc3\u4ee3\u7801\uff0c\u5b8c\u6574\u4ee3\u7801\u53ef\u4ee5\u5728\u6587\u672b\u8fdb\u884c\u4e0b\u8f7d<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessFile\u5b9e\u73b0\u65b9\u5f0f<\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@UploadMode<\/span>(mode&nbsp;=&nbsp;UploadModeEnum.RANDOM_ACCESS)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Slf<\/span>4j<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">RandomAccessUploadStrategy<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">extends<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">SliceUploadTemplate<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Autowired<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;FilePathUtil&nbsp;filePathUtil;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Value<\/span>(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"${upload.chunkSize}\"<\/span>)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;defaultChunkSize;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Override<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">upload<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;RandomAccessFile&nbsp;accessTmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">try<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;uploadDirPath&nbsp;=&nbsp;filePathUtil.getPath(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;tmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">super<\/span>.createTmpFile(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessTmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;RandomAccessFile(tmpFile,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"rw\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u8fd9\u4e2a\u5fc5\u987b\u4e0e\u524d\u7aef\u8bbe\u5b9a\u7684\u503c\u4e00\u81f4<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;chunkSize&nbsp;=&nbsp;Objects.isNull(param.getChunkSize())&nbsp;?&nbsp;defaultChunkSize&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1024<\/span>&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1024<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;param.getChunkSize();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;offset&nbsp;=&nbsp;chunkSize&nbsp;*&nbsp;param.getChunk();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u5b9a\u4f4d\u5230\u8be5\u5206\u7247\u7684\u504f\u79fb\u91cf<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessTmpFile.seek(offset);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u5199\u5165\u8be5\u5206\u7247\u6570\u636e<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessTmpFile.write(param.getFile().getBytes());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;isOk&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">super<\/span>.checkAndSetUploadProgress(param,&nbsp;uploadDirPath);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;isOk;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">catch<\/span>&nbsp;(IOException&nbsp;e)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.error(e.getMessage(),&nbsp;e);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">finally<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUtil.close(accessTmpFile);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">false<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">MappedByteBuffer\u5b9e\u73b0\u65b9\u5f0f<\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@UploadMode<\/span>(mode&nbsp;=&nbsp;UploadModeEnum.MAPPED_BYTEBUFFER)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Slf<\/span>4j<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">MappedByteBufferUploadStrategy<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">extends<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">SliceUploadTemplate<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Autowired<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;FilePathUtil&nbsp;filePathUtil;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Value<\/span>(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"${upload.chunkSize}\"<\/span>)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;defaultChunkSize;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Override<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">upload<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;RandomAccessFile&nbsp;tempRaf&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;FileChannel&nbsp;fileChannel&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;MappedByteBuffer&nbsp;mappedByteBuffer&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">try<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;uploadDirPath&nbsp;=&nbsp;filePathUtil.getPath(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;tmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">super<\/span>.createTmpFile(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tempRaf&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;RandomAccessFile(tmpFile,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"rw\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileChannel&nbsp;=&nbsp;tempRaf.getChannel();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;chunkSize&nbsp;=&nbsp;Objects.isNull(param.getChunkSize())&nbsp;?&nbsp;defaultChunkSize&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1024<\/span>&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">1024<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;param.getChunkSize();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u5199\u5165\u8be5\u5206\u7247\u6570\u636e<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">long<\/span>&nbsp;offset&nbsp;=&nbsp;chunkSize&nbsp;*&nbsp;param.getChunk();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>[]&nbsp;fileData&nbsp;=&nbsp;param.getFile().getBytes();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mappedByteBuffer&nbsp;=&nbsp;fileChannel<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.map(FileChannel.MapMode.READ_WRITE,&nbsp;offset,&nbsp;fileData.length);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mappedByteBuffer.put(fileData);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;isOk&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">super<\/span>.checkAndSetUploadProgress(param,&nbsp;uploadDirPath);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;isOk;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">catch<\/span>&nbsp;(IOException&nbsp;e)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.error(e.getMessage(),&nbsp;e);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">finally<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUtil.freedMappedByteBuffer(mappedByteBuffer);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUtil.close(fileChannel);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUtil.close(tempRaf);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">false<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u6587\u4ef6\u64cd\u4f5c\u6838\u5fc3\u6a21\u677f\u7c7b\u4ee3\u7801<\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Slf<\/span>4j<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">abstract<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">SliceUploadTemplate<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">implements<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(230, 192, 123);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">SliceUploadStrategy<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">abstract<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">upload<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param)<\/span><\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">protected<\/span>&nbsp;File&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">createTmpFile<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;FilePathUtil&nbsp;filePathUtil&nbsp;=&nbsp;SpringContextHolder.getBean(FilePathUtil<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">.<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>)<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;param.setPath(FileUtil.withoutHeadAndTailDiagonal(param.getPath()));<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;fileName&nbsp;=&nbsp;param.getFile().getOriginalFilename();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;uploadDirPath&nbsp;=&nbsp;filePathUtil.getPath(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;tempFileName&nbsp;=&nbsp;fileName&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"_tmp\"<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;tmpDir&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;File(uploadDirPath);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;tmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;File(uploadDirPath,&nbsp;tempFileName);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(!tmpDir.exists())&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tmpDir.mkdirs();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;tmpFile;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@Override<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;FileUploadDTO&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">sliceUpload<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;isOk&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.upload(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(isOk)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;tmpFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.createTmpFile(param);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUploadDTO&nbsp;fileUploadDTO&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">this<\/span>.saveAndFileUploadDTO(param.getFile().getOriginalFilename(),&nbsp;tmpFile);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;fileUploadDTO;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;md5&nbsp;=&nbsp;FileMD5Util.getFileMD5(param.getFile());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;Map&lt;Integer,&nbsp;String&gt;&nbsp;map&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;HashMap&lt;&gt;();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;map.put(param.getChunk(),&nbsp;md5);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;FileUploadDTO.builder().chunkMd5Info(map).build();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/**<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;\u68c0\u67e5\u5e76\u4fee\u6539\u6587\u4ef6\u4e0a\u4f20\u8fdb\u5ea6<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*\/<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">checkAndSetUploadProgress<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param,&nbsp;String&nbsp;uploadDirPath)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;fileName&nbsp;=&nbsp;param.getFile().getOriginalFilename();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;confFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;File(uploadDirPath,&nbsp;fileName&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\".conf\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>&nbsp;isComplete&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;RandomAccessFile&nbsp;accessConfFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">try<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessConfFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;RandomAccessFile(confFile,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"rw\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u628a\u8be5\u5206\u6bb5\u6807\u8bb0\u4e3a&nbsp;true&nbsp;\u8868\u793a\u5b8c\u6210<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"set&nbsp;part&nbsp;\"<\/span>&nbsp;+&nbsp;param.getChunk()&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"&nbsp;complete\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u521b\u5efaconf\u6587\u4ef6\u6587\u4ef6\u957f\u5ea6\u4e3a\u603b\u5206\u7247\u6570\uff0c\u6bcf\u4e0a\u4f20\u4e00\u4e2a\u5206\u5757\u5373\u5411conf\u6587\u4ef6\u4e2d\u5199\u5165\u4e00\u4e2a127\uff0c\u90a3\u4e48\u6ca1\u4e0a\u4f20\u7684\u4f4d\u7f6e\u5c31\u662f\u9ed8\u8ba40,\u5df2\u4e0a\u4f20\u7684\u5c31\u662fByte.MAX_VALUE&nbsp;127<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessConfFile.setLength(param.getChunks());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessConfFile.seek(param.getChunk());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessConfFile.write(Byte.MAX_VALUE);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/completeList&nbsp;\u68c0\u67e5\u662f\u5426\u5168\u90e8\u5b8c\u6210,\u5982\u679c\u6570\u7ec4\u91cc\u662f\u5426\u5168\u90e8\u90fd\u662f127(\u5168\u90e8\u5206\u7247\u90fd\u6210\u529f\u4e0a\u4f20)<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>[]&nbsp;completeList&nbsp;=&nbsp;FileUtils.readFileToByteArray(confFile);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;isComplete&nbsp;=&nbsp;Byte.MAX_VALUE;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">for<\/span>&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">int<\/span>&nbsp;i&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>;&nbsp;i&nbsp;&lt;&nbsp;completeList.length&nbsp;&amp;&amp;&nbsp;isComplete&nbsp;==&nbsp;Byte.MAX_VALUE;&nbsp;i++)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u4e0e\u8fd0\u7b97,&nbsp;\u5982\u679c\u6709\u90e8\u5206\u6ca1\u6709\u5b8c\u6210\u5219&nbsp;isComplete&nbsp;\u4e0d\u662f&nbsp;Byte.MAX_VALUE<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;isComplete&nbsp;=&nbsp;(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>)&nbsp;(isComplete&nbsp;&amp;&nbsp;completeList[i]);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"check&nbsp;part&nbsp;\"<\/span>&nbsp;+&nbsp;i&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"&nbsp;complete?:\"<\/span>&nbsp;+&nbsp;completeList[i]);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">catch<\/span>&nbsp;(IOException&nbsp;e)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.error(e.getMessage(),&nbsp;e);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">finally<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileUtil.close(accessConfFile);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;isOk&nbsp;=&nbsp;setUploadProgress2Redis(param,&nbsp;uploadDirPath,&nbsp;fileName,&nbsp;confFile,&nbsp;isComplete);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;isOk;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/**<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;\u628a\u4e0a\u4f20\u8fdb\u5ea6\u4fe1\u606f\u5b58\u8fdbredis<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*\/<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">setUploadProgress2Redis<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param,&nbsp;String&nbsp;uploadDirPath,<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;fileName,&nbsp;File&nbsp;confFile,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>&nbsp;isComplete)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;RedisUtil&nbsp;redisUtil&nbsp;=&nbsp;SpringContextHolder.getBean(RedisUtil<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">.<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>)<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(isComplete&nbsp;==&nbsp;Byte.MAX_VALUE)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.hset(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5(),&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"true\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.del(FileConstant.FILE_MD5_KEY&nbsp;+&nbsp;param.getMd5());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;confFile.delete();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">true<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">else<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(!redisUtil.hHasKey(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5()))&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.hset(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5(),&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"false\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.set(FileConstant.FILE_MD5_KEY&nbsp;+&nbsp;param.getMd5(),<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uploadDirPath&nbsp;+&nbsp;FileConstant.FILE_SEPARATORCHAR&nbsp;+&nbsp;fileName&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\".conf\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">false<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/**<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;\u4fdd\u5b58\u6587\u4ef6\u64cd\u4f5c<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*\/<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;FileUploadDTO&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">saveAndFileUploadDTO<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(String&nbsp;fileName,&nbsp;File&nbsp;tmpFile)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;FileUploadDTO&nbsp;fileUploadDTO&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">try<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO&nbsp;=&nbsp;renameFile(tmpFile,&nbsp;fileName);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(fileUploadDTO.isUploadComplete())&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.println(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"upload&nbsp;complete&nbsp;!!\"<\/span>&nbsp;+&nbsp;fileUploadDTO.isUploadComplete()&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"&nbsp;name=\"<\/span>&nbsp;+&nbsp;fileName);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/TODO&nbsp;\u4fdd\u5b58\u6587\u4ef6\u4fe1\u606f\u5230\u6570\u636e\u5e93<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">catch<\/span>&nbsp;(Exception&nbsp;e)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.error(e.getMessage(),&nbsp;e);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">finally<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;fileUploadDTO;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/**<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;\u6587\u4ef6\u91cd\u547d\u540d<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@param<\/span>&nbsp;toBeRenamed&nbsp;\u5c06\u8981\u4fee\u6539\u540d\u5b57\u7684\u6587\u4ef6<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@param<\/span>&nbsp;toFileNewName&nbsp;\u65b0\u7684\u540d\u5b57<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;*\/<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;FileUploadDTO&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">renameFile<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(File&nbsp;toBeRenamed,&nbsp;String&nbsp;toFileNewName)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u68c0\u67e5\u8981\u91cd\u547d\u540d\u7684\u6587\u4ef6\u662f\u5426\u5b58\u5728\uff0c\u662f\u5426\u662f\u6587\u4ef6<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;FileUploadDTO&nbsp;fileUploadDTO&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;FileUploadDTO();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(!toBeRenamed.exists()&nbsp;||&nbsp;toBeRenamed.isDirectory())&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.info(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"File&nbsp;does&nbsp;not&nbsp;exist:&nbsp;{}\"<\/span>,&nbsp;toBeRenamed.getName());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setUploadComplete(<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">false<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;fileUploadDTO;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;ext&nbsp;=&nbsp;FileUtil.getExtension(toFileNewName);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;p&nbsp;=&nbsp;toBeRenamed.getParent();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;filePath&nbsp;=&nbsp;p&nbsp;+&nbsp;FileConstant.FILE_SEPARATORCHAR&nbsp;+&nbsp;toFileNewName;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;newFile&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;File(filePath);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(92, 99, 112);font-style: italic;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\/\/\u4fee\u6539\u6587\u4ef6\u540d<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;uploadFlag&nbsp;=&nbsp;toBeRenamed.renameTo(newFile);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setMtime(DateUtil.getCurrentTimeStamp());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setUploadComplete(uploadFlag);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setPath(filePath);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setSize(newFile.length());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setFileExt(ext);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO.setFileId(toFileNewName);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;fileUploadDTO;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.2em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u4e0a\u4f20\u63a5\u53e3<\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@PostMapping<\/span>(value&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\/upload\"<\/span>)<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">@ResponseBody<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">public<\/span>&nbsp;Result&lt;FileUploadDTO&gt;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">upload<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;fileUploadRequestDTO)<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">throws<\/span>&nbsp;IOException&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;isMultipart&nbsp;=&nbsp;ServletFileUpload.isMultipartContent(request);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;FileUploadDTO&nbsp;fileUploadDTO&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(isMultipart)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StopWatch&nbsp;stopWatch&nbsp;=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;StopWatch();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stopWatch.start(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"upload\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(fileUploadRequestDTO.getChunk()&nbsp;!=&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">null<\/span>&nbsp;&amp;&amp;&nbsp;fileUploadRequestDTO.getChunks()&nbsp;&gt;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">0<\/span>)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO&nbsp;=&nbsp;fileService.sliceUpload(fileUploadRequestDTO);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">else<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileUploadDTO&nbsp;=&nbsp;fileService.upload(fileUploadRequestDTO);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stopWatch.stop();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.info(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"{}\"<\/span>,stopWatch.prettyPrint());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;Result&lt;FileUploadDTO&gt;().setData(fileUploadDTO);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">throw<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">new<\/span>&nbsp;BizException(<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"\u4e0a\u4f20\u5931\u8d25\"<\/span>,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(209, 154, 102);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">406<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 22px;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(0, 150, 136);border-left: 3px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">4.\u79d2\u4f20<\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">4.1 \u4ec0\u4e48\u662f\u79d2\u4f20<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u901a\u4fd7\u7684\u8bf4\uff0c\u4f60\u628a\u8981\u4e0a\u4f20\u7684\u4e1c\u897f\u4e0a\u4f20\uff0c\u670d\u52a1\u5668\u4f1a\u5148\u505aMD5\u6821\u9a8c\uff0c\u5982\u679c\u670d\u52a1\u5668\u4e0a\u6709\u4e00\u6837\u7684\u4e1c\u897f\uff0c\u5b83\u5c31\u76f4\u63a5\u7ed9\u4f60\u4e2a\u65b0\u5730\u5740\uff0c\u5176\u5b9e\u4f60\u4e0b\u8f7d\u7684\u90fd\u662f\u670d\u52a1\u5668\u4e0a\u7684\u540c\u4e00\u4e2a\u6587\u4ef6\uff0c\u60f3\u8981\u4e0d\u79d2\u4f20\uff0c\u5176\u5b9e\u53ea\u8981\u8ba9MD5\u6539\u53d8\uff0c\u5c31\u662f\u5bf9\u6587\u4ef6\u672c\u8eab\u505a\u4e00\u4e0b\u4fee\u6539\uff08\u6539\u540d\u5b57\u4e0d\u884c\uff09\uff0c\u4f8b\u5982\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u4f60\u591a\u52a0\u51e0\u4e2a\u5b57\uff0cMD5\u5c31\u53d8\u4e86\uff0c\u5c31\u4e0d\u4f1a\u79d2\u4f20\u4e86\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">4.2 \u5b9e\u73b0\u7684\u79d2\u4f20\u6838\u5fc3\u903b\u8f91<\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5229\u7528redis\u7684set\u65b9\u6cd5\u5b58\u653e\u6587\u4ef6\u4e0a\u4f20\u72b6\u6001\uff0c\u5176\u4e2dkey\u4e3a\u6587\u4ef6\u4e0a\u4f20\u7684md5\uff0cvalue\u4e3a\u662f\u5426\u4e0a\u4f20\u5b8c\u6210\u7684\u6807\u5fd7\u4f4d\uff0c<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5f53\u6807\u5fd7\u4f4dtrue\u4e3a\u4e0a\u4f20\u5df2\u7ecf\u5b8c\u6210\uff0c\u6b64\u65f6\u5982\u679c\u6709\u76f8\u540c\u6587\u4ef6\u4e0a\u4f20\uff0c\u5219\u8fdb\u5165\u79d2\u4f20\u903b\u8f91\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5982\u679c\u6807\u5fd7\u4f4d\u4e3afalse\uff0c\u5219\u8bf4\u660e\u8fd8\u6ca1\u4e0a\u4f20\u5b8c\u6210\uff0c\u6b64\u65f6\u9700\u8981\u5728\u8c03\u7528set\u7684\u65b9\u6cd5\uff0c\u4fdd\u5b58\u5757\u53f7\u6587\u4ef6\u8bb0\u5f55\u7684\u8def\u5f84\uff0c\u5176\u4e2d<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">key\u4e3a\u4e0a\u4f20\u6587\u4ef6md5\u52a0\u4e00\u4e2a\u56fa\u5b9a\u524d\u7f00<\/section>\n<\/li>\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">value\u4e3a\u5757\u53f7\u6587\u4ef6\u8bb0\u5f55\u8def\u5f84<\/section>\n<\/li>\n<\/ul>\n<p style=\"text-align: left;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"0.7231578947368421\" data-s=\"300,640\"  data-type=\"png\" data-w=\"950\" style=\"\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021954117.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-galleryid=\"\" data-ratio=\"0.7231578947368421\" data-s=\"300,640\"  data-type=\"png\" data-w=\"950\" style=\"\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021954117.png\"  \/><\/noscript><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 20px;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 2px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">4.3 \u6838\u5fc3\u4ee3\u7801<\/h3>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: -7px;outline: 0px;max-width: 100%;display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/wJibWkqN1bUMGV1UTPd8Fdh1RlWjdQy0HHfoJ9baUmj5jXuUIDj68CXzHZ23WCKGQxxbfNx1RKYEVbxa1lCsAQib0JZjM7QwIb\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;max-width: 100%;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\"><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">private<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">boolean<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(97, 174, 238);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">setUploadProgress2Redis<\/span><span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">(FileUploadRequestDTO&nbsp;param,&nbsp;String&nbsp;uploadDirPath,<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;fileName,&nbsp;File&nbsp;confFile,&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">byte<\/span>&nbsp;isComplete)<\/span>&nbsp;<\/span>{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;RedisUtil&nbsp;redisUtil&nbsp;=&nbsp;SpringContextHolder.getBean(RedisUtil<span style=\"outline: 0px;max-width: 100%;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">.<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">class<\/span>)<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(isComplete&nbsp;==&nbsp;Byte.MAX_VALUE)&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.hset(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5(),&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"true\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.del(FileConstant.FILE_MD5_KEY&nbsp;+&nbsp;param.getMd5());<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;confFile.delete();<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">true<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">else<\/span>&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">if<\/span>&nbsp;(!redisUtil.hHasKey(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5()))&nbsp;{<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.hset(FileConstant.FILE_UPLOAD_STATUS,&nbsp;param.getMd5(),&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\"false\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redisUtil.set(FileConstant.FILE_MD5_KEY&nbsp;+&nbsp;param.getMd5(),<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uploadDirPath&nbsp;+&nbsp;FileConstant.FILE_SEPARATORCHAR&nbsp;+&nbsp;fileName&nbsp;+&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(152, 195, 121);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\".conf\"<\/span>);<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">return<\/span>&nbsp;<span style=\"outline: 0px;max-width: 100%;color: rgb(198, 120, 221);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">false<\/span>;<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/>&nbsp;&nbsp;}<br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/code><\/pre>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 1em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 22px;max-width: 100%;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(0, 150, 136);border-left: 3px solid rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">5.\u603b\u7ed3<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5728\u5b9e\u73b0\u5206\u7247\u4e0a\u4f20\u7684\u8fc7\u7a0b\uff0c\u9700\u8981\u524d\u7aef\u548c\u540e\u7aef\u914d\u5408\uff0c\u6bd4\u5982\u524d\u540e\u7aef\u7684\u4e0a\u4f20\u5757\u53f7\u7684\u6587\u4ef6\u5927\u5c0f\uff0c\u524d\u540e\u7aef\u5fc5\u987b\u5f97\u8981\u4e00\u81f4\uff0c\u5426\u5219\u4e0a\u4f20\u5c31\u4f1a\u6709\u95ee\u9898\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5176\u6b21\u6587\u4ef6\u76f8\u5173\u64cd\u4f5c\u6b63\u5e38\u90fd\u662f\u8981\u642d\u5efa\u4e00\u4e2a\u6587\u4ef6\u670d\u52a1\u5668\u7684\uff0c\u6bd4\u5982\u4f7f\u7528fastdfs\u3001hdfs\u7b49\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u5982\u679c\u9879\u76ee\u7ec4\u89c9\u5f97\u81ea\u5efa\u6587\u4ef6\u670d\u52a1\u5668\u592a\u82b1\u8d39\u65f6\u95f4\uff0c\u4e14\u9879\u76ee\u7684\u9700\u6c42\u4ec5\u4ec5\u53ea\u662f\u4e0a\u4f20\u4e0b\u8f7d\uff0c\u90a3\u4e48\u63a8\u8350\u4f7f\u7528\u963f\u91cc\u7684oss\u670d\u52a1\u5668\uff0c\u5176\u4ecb\u7ecd\u53ef\u4ee5\u67e5\u770b\u5b98\u7f51:<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">https:\/\/help.aliyun.com\/product\/31815.html<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">\u963f\u91cc\u7684oss\u5b83\u672c\u8d28\u662f\u4e00\u4e2a\u5bf9\u8c61\u5b58\u50a8\u670d\u52a1\u5668\uff0c\u800c\u975e\u6587\u4ef6\u670d\u52a1\u5668\uff0c\u56e0\u6b64\u5982\u679c\u6709\u6d89\u53ca\u5230\u5927\u91cf\u5220\u9664\u6216\u8005\u4fee\u6539\u6587\u4ef6\u7684\u9700\u6c42\uff0coss\u53ef\u80fd\u5c31\u4e0d\u662f\u4e00\u4e2a\u597d\u7684\u9009\u62e9\u3002<\/p>\n<h5 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin: 0.6em auto;padding-left: 10px;outline: 0px;font-weight: bold;font-size: 1.1em;max-width: 100%;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);border-left: 1px dashed rgb(0, 150, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u9879\u76ee\u5730\u5740\uff1a<\/h5>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" class=\"list-paddingleft-1\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;outline: 0px;max-width: 100%;color: rgb(0, 0, 0);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: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;\">\n<li style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;max-width: 100%;line-height: 26px;color: rgb(1, 1, 1);box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: left;\">https:\/\/gitee.com\/ninesuntec\/large-file-upload<\/section>\n<\/li>\n<\/ul>\n<section><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weui-theme=\"light\" data-id=\"MjM5NDQ4MzA1Nw==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/7OPxOA8ic5m8iaZhZuawOQpg1kY6p7DsNdHYUDLY6XBfZYualr95vI5BKic0SbnZ7lzkibwdTfLmFkx9flmoEvLQiaQ\/0?wx_fmt=png\" data-nickname=\"IT\u725b\u5ba2\" data-alias=\"\" data-signature=\"\u4e13\u6ce8\u4e8eIT\u6280\u672f\u5206\u4eab\uff0c\u539f\u521b\u6280\u672f\u548c\u521b\u65b0\u6280\u672f\u5206\u4eab\uff0cIT\u725b\u5ba2\uff0c\u6211\u4eec\u4e00\u8d77\u8fdb\u6b65\u2026\u2026\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 16px;color: rgb(63, 63, 63);text-align: left;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;letter-spacing: 0.544px;white-space: normal;color: rgb(62, 62, 62);text-align: center;widows: 1;word-spacing: 2px;font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;line-height: 2em;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;font-size: 13px;letter-spacing: 0.5px;color: rgb(0, 128, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;font-family: -apple-system-font, system-ui, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u5982\u559c\u6b22\u672c\u6587\uff0c\u8bf7\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u628a\u6587\u7ae0\u5206\u4eab\u5230\u670b\u53cb\u5708<\/span><br style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"  \/><\/span><\/p><p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;letter-spacing: 0.544px;white-space: normal;color: rgb(62, 62, 62);text-align: center;widows: 1;word-spacing: 2px;font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;line-height: 2em;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><strong style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"outline: 0px;max-width: 100%;font-family: -apple-system-font, system-ui, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 13px;letter-spacing: 0.5px;color: rgb(217, 33, 66);box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u56e0\u516c\u4f17\u53f7\u66f4\u6539\u63a8\u9001\u89c4\u5219\uff0c\u8bf7\u70b9\u201c\u5728\u770b\u201d\u5e76\u52a0\u201c\u661f\u6807\u201d<span style=\"outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u7b2c\u4e00\u65f6\u95f4\u83b7\u53d6\u7cbe\u5f69\u6280\u672f\u5206\u4eab<\/span><\/span><\/strong><\/p><p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;letter-spacing: 0.544px;white-space: normal;color: rgb(62, 62, 62);text-align: center;widows: 1;word-spacing: 2px;font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;line-height: 2em;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><strong style=\"outline: 0px;max-width: 100%;letter-spacing: 0.544px;font-family: \u5fae\u8f6f\u96c5\u9ed1;font-size: 16.3636px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u00b7END\u00b7<\/strong><\/p><\/pre>\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:                 IT\u725b\u5ba2              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\uff1ablog.csdn.net\/zhiyikeji\/article\/details\/128242775 \u6587\u4ef6\u4e0a\u4f20\u662f\u4e00\u4e2a\u8001\u751f\u5e38\u8c08\u7684 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1020,"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-1023","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\/20230528021952197-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021952197-300x300.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021952197.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021952197-300x300.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021952197.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021952197.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021953500.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021954117.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021954117.png","id":"image3"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2023-05-27","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":276,"next_post_id":1025,"next_post_title":"SpringBoot \u5185\u7f6e\u5de5\u5177\u7c7b","previous_post_id":903,"previous_post_title":"Spring-14 AOP CGLIB \u4ee3\u7406\u5bf9\u8c61\u6e90\u7801","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1023","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=1023"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1023\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/1020"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}