<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Lxd Blog</title>
        <link>https://tangly1024.com/</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Wed, 11 Mar 2026 14:44:57 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2026, NotionNext</copyright>
        <item>
            <title><![CDATA[数据库语法比较（pgsql-oracle-mysql）]]></title>
            <link>https://tangly1024.com/article/1cae983a-64ef-80f4-990a-d14660b90f2e</link>
            <guid>https://tangly1024.com/article/1cae983a-64ef-80f4-990a-d14660b90f2e</guid>
            <pubDate>Thu, 03 Apr 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1cae983a64ef80f4990ad14660b90f2e"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-1cae983a64ef80b2ac59ce87e236a3f7"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">总结三个数据库语法方面的区别</div></div><div class="notion-blank notion-block-1cae983a64ef8094bf14e0c2a0619853"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1cae983a64ef8036bde3f6cbeb323da4" data-id="1cae983a64ef8036bde3f6cbeb323da4"><span><div id="1cae983a64ef8036bde3f6cbeb323da4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef8036bde3f6cbeb323da4" title="📝 区别点"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 区别点</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80348a33ff14a02ecd10" data-id="1cae983a64ef80348a33ff14a02ecd10"><span><div id="1cae983a64ef80348a33ff14a02ecd10" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80348a33ff14a02ecd10" title="分页"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">分页</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dde983a64ef80818694d1b59a72734d" data-id="1dde983a64ef80818694d1b59a72734d"><span><div id="1dde983a64ef80818694d1b59a72734d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dde983a64ef80818694d1b59a72734d" title="mysql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">mysql</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1cae983a64ef80d3b4c8d000c16a73a1" data-id="1cae983a64ef80d3b4c8d000c16a73a1"><span><div id="1cae983a64ef80d3b4c8d000c16a73a1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80d3b4c8d000c16a73a1" title="oracle"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">oracle</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dde983a64ef80cfa3e0fd8ad2e6ec71" data-id="1dde983a64ef80cfa3e0fd8ad2e6ec71"><span><div id="1dde983a64ef80cfa3e0fd8ad2e6ec71" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dde983a64ef80cfa3e0fd8ad2e6ec71" title="pgsql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">pgsql</span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef807f898ad6f19c2c8145" data-id="1cae983a64ef807f898ad6f19c2c8145"><span><div id="1cae983a64ef807f898ad6f19c2c8145" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef807f898ad6f19c2c8145" title="数据类型"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">数据类型</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dee983a64ef8019bbb7da54605dfd56" data-id="1dee983a64ef8019bbb7da54605dfd56"><span><div id="1dee983a64ef8019bbb7da54605dfd56" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dee983a64ef8019bbb7da54605dfd56" title="整数："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">整数：</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1cae983a64ef8039af17dcb7a553ae5e" data-id="1cae983a64ef8039af17dcb7a553ae5e"><span><div id="1cae983a64ef8039af17dcb7a553ae5e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef8039af17dcb7a553ae5e" title="mysql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">mysql</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dee983a64ef8028b6d3f41ddb525a6c" data-id="1dee983a64ef8028b6d3f41ddb525a6c"><span><div id="1dee983a64ef8028b6d3f41ddb525a6c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dee983a64ef8028b6d3f41ddb525a6c" title="oracle"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">oracle</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dee983a64ef8039a8a5dd1959a339bc" data-id="1dee983a64ef8039a8a5dd1959a339bc"><span><div id="1dee983a64ef8039a8a5dd1959a339bc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dee983a64ef8039a8a5dd1959a339bc" title="pgsql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">pgsql</span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80d7bf71eadd30668d15" data-id="1cae983a64ef80d7bf71eadd30668d15"><span><div id="1cae983a64ef80d7bf71eadd30668d15" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80d7bf71eadd30668d15" title="判空nvl coalesce"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">判空nvl coalesce</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1cae983a64ef80c9bfc0de4f98e05263" data-id="1cae983a64ef80c9bfc0de4f98e05263"><span><div id="1cae983a64ef80c9bfc0de4f98e05263" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80c9bfc0de4f98e05263" title="mysql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">mysql</span></span></h4><div class="notion-blank notion-block-1dee983a64ef800da539f5b80244eaf7"> </div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dee983a64ef80ff9ea7f050028a937b" data-id="1dee983a64ef80ff9ea7f050028a937b"><span><div id="1dee983a64ef80ff9ea7f050028a937b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dee983a64ef80ff9ea7f050028a937b" title="oracle"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">oracle</span></span></h4><div class="notion-blank notion-block-1dee983a64ef806da8a8e56709fa4eba"> </div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-1dee983a64ef80d7bf56c2678739a8df" data-id="1dee983a64ef80d7bf56c2678739a8df"><span><div id="1dee983a64ef80d7bf56c2678739a8df" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1dee983a64ef80d7bf56c2678739a8df" title="pgsql"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">pgsql</span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80a5bfefca532073cc90" data-id="1cae983a64ef80a5bfefca532073cc90"><span><div id="1cae983a64ef80a5bfefca532073cc90" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80a5bfefca532073cc90" title="当前时间"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">当前时间</span></span></h3><div class="notion-blank notion-block-1cae983a64ef80aa8caae22467dd3f9d"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef807bb297c26791c08557" data-id="1cae983a64ef807bb297c26791c08557"><span><div id="1cae983a64ef807bb297c26791c08557" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef807bb297c26791c08557" title="case when "><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">case when </span></span></h3><div class="notion-blank notion-block-1cae983a64ef80f3aee1fe0e6d0f8a95"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80cab28ff1507acbb3d3" data-id="1cae983a64ef80cab28ff1507acbb3d3"><span><div id="1cae983a64ef80cab28ff1507acbb3d3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80cab28ff1507acbb3d3" title="别名（实现方式）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">别名（实现方式）</span></span></h3><div class="notion-blank notion-block-1cae983a64ef808d9038fc16daa3ee8c"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80c494bce606571e07da" data-id="1cae983a64ef80c494bce606571e07da"><span><div id="1cae983a64ef80c494bce606571e07da" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80c494bce606571e07da" title="多函数 （是否取别名）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">多函数 （是否取别名）</span></span></h3><div class="notion-blank notion-block-1cae983a64ef8060b1a0ffbd1a401b25"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80fa9408cd80a56bb15c" data-id="1cae983a64ef80fa9408cd80a56bb15c"><span><div id="1cae983a64ef80fa9408cd80a56bb15c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80fa9408cd80a56bb15c" title="字符串与integer严格区分"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">字符串与integer严格区分</span></span></h3><div class="notion-blank notion-block-1cae983a64ef800babfbd7377477a825"> </div><div class="notion-text notion-block-1cae983a64ef8089aab1dce4ac93e3e8">更新不许带别名（pgsql）</div><div class="notion-blank notion-block-1cae983a64ef804983fdfc0ea588a87f"> </div><div class="notion-blank notion-block-1cae983a64ef80398572ed9e66768ab1"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1cae983a64ef80a28ec9e07884057014" data-id="1cae983a64ef80a28ec9e07884057014"><span><div id="1cae983a64ef80a28ec9e07884057014" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80a28ec9e07884057014" title="日期与字符串的转变方法"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">日期与字符串的转变方法</span></span></h3><div class="notion-blank notion-block-1cae983a64ef8055a1b8f6faa52f2125"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1cae983a64ef8083bc00d7faf7db0729" data-id="1cae983a64ef8083bc00d7faf7db0729"><span><div id="1cae983a64ef8083bc00d7faf7db0729" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef8083bc00d7faf7db0729" title="🤗 总结归纳"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗 总结归纳</span></span></h2><div class="notion-text notion-block-1cae983a64ef80f99037f7192fcaa241">总结文章的内容</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1cae983a64ef80a6be4dceac535f1ce0" data-id="1cae983a64ef80a6be4dceac535f1ce0"><span><div id="1cae983a64ef80a6be4dceac535f1ce0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1cae983a64ef80a6be4dceac535f1ce0" title="📎 参考文章"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📎 参考文章</span></span></h2><ul class="notion-list notion-list-disc notion-block-1cae983a64ef803eb9defb1154e7b418"><li>一些引用</li></ul><ul class="notion-list notion-list-disc notion-block-1cae983a64ef8010b3c1e423f2b7803d"><li>引用文章</li></ul><div class="notion-blank notion-block-1cae983a64ef804b88c2e422e1c575fc"> </div><div class="notion-callout notion-gray_background_co notion-block-1cae983a64ef80ae993dd3cf4a35f5bc"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[jpa的持久化上下文问题]]></title>
            <link>https://tangly1024.com/article/1bde983a-64ef-8094-ace2-d26b97a6d539</link>
            <guid>https://tangly1024.com/article/1bde983a-64ef-8094-ace2-d26b97a6d539</guid>
            <pubDate>Fri, 21 Mar 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1bde983a64ef8094ace2d26b97a6d539"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-1bde983a64ef80589798e94ec2a21c88"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">同一个方法里多次执行数据的查询与更新，不同方式的执行导致不同的结果，通过flush避免不同结果的出现<div class="notion-blank notion-block-1bde983a64ef80aea7c8e0a61208515c"> </div></div></div><div class="notion-blank notion-block-1bde983a64ef80eebe3ec49166593c1f"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1bde983a64ef806ab0eede6b8af800a7" data-id="1bde983a64ef806ab0eede6b8af800a7"><span><div id="1bde983a64ef806ab0eede6b8af800a7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1bde983a64ef806ab0eede6b8af800a7" title="📝 JPA持久化上下文的影响以及处理方式"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 JPA持久化上下文的影响以及处理方式</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1bde983a64ef805589d6e5a39f941c55" data-id="1bde983a64ef805589d6e5a39f941c55"><span><div id="1bde983a64ef805589d6e5a39f941c55" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1bde983a64ef805589d6e5a39f941c55" title="影响："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">影响：</span></span></h3><div class="notion-text notion-block-1bde983a64ef8091852ced8ecd559a5e">由于jpa会创建独有的持久化上下文，并且在使用过程中，直接使用sql的查询不会从其上下文中获取，而是直接从数据库获取，因此如果有多次更改和查询，会有数据不一致的问题</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1bde983a64ef808cbd5df7f88460f31f" data-id="1bde983a64ef808cbd5df7f88460f31f"><span><div id="1bde983a64ef808cbd5df7f88460f31f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1bde983a64ef808cbd5df7f88460f31f" title="处理方式："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">处理方式：</span></span></h3><div class="notion-text notion-block-1bde983a64ef80eea487da4ce09f2183">1，将使用sql的处理方式更换成jpa的专有方法</div><div class="notion-text notion-block-1c0e983a64ef803ea76de47a4c21ef6f">2，在更新后flush一下，flush会将上下文中的内容同步到数据库</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[排序处理]]></title>
            <link>https://tangly1024.com/article/1a7e983a-64ef-8063-b619-ed878611441c</link>
            <guid>https://tangly1024.com/article/1a7e983a-64ef-8063-b619-ed878611441c</guid>
            <pubDate>Fri, 02 Jul 2021 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1a7e983a64ef8063b619ed878611441c"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-1a7e983a64ef802ebdf5c8ee99f860a1">排序问题的处理，排序方法的编写</div><div class="notion-blank notion-block-1a7e983a64ef802dbb5ef345e9fe4de3"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1a7e983a64ef80dba5f9c0fff2632ae1" data-id="1a7e983a64ef80dba5f9c0fff2632ae1"><span><div id="1a7e983a64ef80dba5f9c0fff2632ae1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1a7e983a64ef80dba5f9c0fff2632ae1" title="📝 list排序"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 list排序</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1a7e983a64ef80ada7e2f0aec1f004d2" data-id="1a7e983a64ef80ada7e2f0aec1f004d2"><span><div id="1a7e983a64ef80ada7e2f0aec1f004d2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1a7e983a64ef80ada7e2f0aec1f004d2" title="排序代码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">排序代码</span></span></h3><div class="notion-blank notion-block-1a7e983a64ef80ca98f8f29c45bceaf4"> </div><div class="notion-blank notion-block-1a7e983a64ef8062aa13e5516f26595a"> </div><div class="notion-callout notion-gray_background_co notion-block-1a7e983a64ef803e943cf41ea3f8b802"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[接口请求编写相关问题]]></title>
            <link>https://tangly1024.com/article/176e983a-64ef-807e-97fd-eac4acd615ba</link>
            <guid>https://tangly1024.com/article/176e983a-64ef-807e-97fd-eac4acd615ba</guid>
            <pubDate>Thu, 09 Jan 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-176e983a64ef807e97fdeac4acd615ba"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-176e983a64ef81928879c21f02b0c6bb"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
服务间的文件传输接口</div></div><div class="notion-blank notion-block-176e983a64ef81799537eb9ff5a39e37"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-176e983a64ef81b38e34fda27bef8a7a" data-id="176e983a64ef81b38e34fda27bef8a7a"><span><div id="176e983a64ef81b38e34fda27bef8a7a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef81b38e34fda27bef8a7a" title="📝 文件传输接口的编写与问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 文件传输接口的编写与问题</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-176e983a64ef81a2bb9bd825370e1973" data-id="176e983a64ef81a2bb9bd825370e1973"><span><div id="176e983a64ef81a2bb9bd825370e1973" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef81a2bb9bd825370e1973" title="代码编写httpMime4.2版本"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">代码编写httpMime4.2版本</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-176e983a64ef81369cc3fad41f94b8d7" data-id="176e983a64ef81369cc3fad41f94b8d7"><span><div id="176e983a64ef81369cc3fad41f94b8d7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef81369cc3fad41f94b8d7" title="httpMime4.5版本"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">httpMime4.5版本</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-176e983a64ef80738949f8c3067ab0fc" data-id="176e983a64ef80738949f8c3067ab0fc"><span><div id="176e983a64ef80738949f8c3067ab0fc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef80738949f8c3067ab0fc" title="hutool工具类"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">hutool工具类</span></span></h3><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-176e983a64ef813f9a42cabda4e5ffd8" data-id="176e983a64ef813f9a42cabda4e5ffd8"><span><div id="176e983a64ef813f9a42cabda4e5ffd8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef813f9a42cabda4e5ffd8" title="🤗 总结归纳"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗 总结归纳</span></span></h2><div class="notion-text notion-block-176e983a64ef8127aa3ace87ae818f00">使用hutool工具类的方便快捷</div><div class="notion-blank notion-block-176e983a64ef80f3abafe731f489d23f"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-176e983a64ef80ff83c0ef92f97937a9" data-id="176e983a64ef80ff83c0ef92f97937a9"><span><div id="176e983a64ef80ff83c0ef92f97937a9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef80ff83c0ef92f97937a9" title="问题处理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">问题处理</span></span></h3><div class="notion-text notion-block-176e983a64ef80609baec4a6d4e84ffc">过程中有遇到代码问题导致的问题，无论哪个版本,都不需要再次

<code class="notion-inline-code">httpPost.setHeader(&quot;content-type&quot;,&quot;multipart/form-data&quot;);</code></div><div class="notion-text notion-block-176e983a64ef8076a1c5d3295624121a">否则接口就会导致服务端解析出问题而致使接口报500</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-176e983a64ef819faaf7c388bc211973" data-id="176e983a64ef819faaf7c388bc211973"><span><div id="176e983a64ef819faaf7c388bc211973" class="notion-header-anchor"></div><a class="notion-hash-link" href="#176e983a64ef819faaf7c388bc211973" title="📎 参考文章"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📎 参考文章</span></span></h2><ul class="notion-list notion-list-disc notion-block-176e983a64ef81a3aa8deb18746bc03e"><li>一些引用</li></ul><ul class="notion-list notion-list-disc notion-block-176e983a64ef816d9c7bd32c9da374b9"><li>引用文章</li></ul><div class="notion-blank notion-block-176e983a64ef811082b0df6a3069dfb2"> </div><div class="notion-callout notion-gray_background_co notion-block-176e983a64ef81fb83d5d197fb936fa7"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[阿里云服务器部署项目过程以及问题]]></title>
            <link>https://tangly1024.com/article/e3befe09-38b2-4366-9aba-c766bec3529f</link>
            <guid>https://tangly1024.com/article/e3befe09-38b2-4366-9aba-c766bec3529f</guid>
            <pubDate>Fri, 19 Jul 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-e3befe0938b243669abac766bec3529f"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-24692e9eede549cdbd12b37419fd5c0c" data-id="24692e9eede549cdbd12b37419fd5c0c"><span><div id="24692e9eede549cdbd12b37419fd5c0c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#24692e9eede549cdbd12b37419fd5c0c" title="购买轻量级服务器或者ecs"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">购买轻量级服务器或者ecs</span></span></h3><blockquote class="notion-quote notion-block-57f888a1ab724f1daae5fd9da142d196"><div>此处略过，有问题可询问服务器相关人员</div></blockquote><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-084d943d6f394404bfbe16cd3c251e0c" data-id="084d943d6f394404bfbe16cd3c251e0c"><span><div id="084d943d6f394404bfbe16cd3c251e0c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#084d943d6f394404bfbe16cd3c251e0c" title="下载mysql并部署"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">下载mysql并部署</span></span></h3><blockquote class="notion-quote notion-block-d3f9312fc0724f9e9a2895e5595ba341"><div>参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://blog.csdn.net/hwx865/article/details/90287715">https://blog.csdn.net/hwx865/article/details/90287715</a></div></blockquote><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-573f0c1fdfca4496add4828f63663456" data-id="573f0c1fdfca4496add4828f63663456"><span><div id="573f0c1fdfca4496add4828f63663456" class="notion-header-anchor"></div><a class="notion-hash-link" href="#573f0c1fdfca4496add4828f63663456" title="部署jdk"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">部署jdk</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-ac649ada3f1b461b89990def7462fa9e" data-id="ac649ada3f1b461b89990def7462fa9e"><span><div id="ac649ada3f1b461b89990def7462fa9e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ac649ada3f1b461b89990def7462fa9e" title="部署redis"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">部署redis</span></span></h3><blockquote class="notion-quote notion-block-b72748f4662b4666a693bf8e48ab11c7"><div>参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://blog.csdn.net/heyl163_/article/details/132981470#:~:text=Ubuntu%E4%B8%8A%E5%AE%89%E8%A3%85%E3%80%81%E4%BD%BF%E7%94%A8Redis%E7%9A%84%E8%AF%A6%E7%BB%86%E6%95%99%E7%A8%8B%201%201%E3%80%81%E5%AE%89%E8%A3%85redis%20%E9%A6%96%E5%85%88%EF%BC%8C%E8%AE%BF%E9%97%AE%20Redis%E5%AE%98%E7%BD%91%20%EF%BC%8C%E7%82%B9%E5%87%BB%E9%A6%96%E9%A1%B5%E7%9A%84%E3%80%90Get%20Started%E3%80%91%EF%BC%8C%E7%84%B6%E5%90%8E%E7%82%B9%E5%87%BB%20Install,4%204%E3%80%81%E5%9C%A8%E5%AE%BF%E4%B8%BB%E6%9C%BA%E8%BF%9E%E6%8E%A5redis%20%E6%A0%B9%E6%8D%AE%E4%BB%A5%E4%B8%8A%E6%AD%A5%E9%AA%A4%E5%AE%89%E8%A3%85%E5%90%AF%E5%8A%A8redis%E5%90%8E%EF%BC%8C%E9%BB%98%E8%AE%A4%E5%8F%AA%E8%83%BD%E5%9C%A8%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%86%85%E8%AE%BF%E9%97%AEredis%EF%BC%8C%E5%A6%82%E6%9E%9C%E5%9C%A8%E5%85%B6%E4%BB%96%E6%9C%BA%E5%99%A8%E4%B8%8A%E8%AE%BF%E9%97%AE%EF%BC%8C%E9%9C%80%E8%A6%81%E4%BF%AE%E6%94%B9%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E3%80%82%20...%205%205%E3%80%81%E9%80%9A%E8%BF%87java%E8%BF%9E%E6%8E%A5redis%20redis%E5%AE%98%E6%96%B9%E6%8E%A8%E8%8D%90%E9%80%9A%E8%BF%87jedis%E6%9D%A5%E6%93%8D%E4%BD%9Credis%EF%BC%8Cjedis%E6%98%AF%E4%B8%80%E4%B8%AA%E4%B8%93%E9%97%A8%E8%AE%BE%E8%AE%A1%E7%94%A8%E4%BA%8E%E6%93%8D%E4%BD%9C%E5%92%8C%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8redis%E7%9A%84Java%E5%AE%A2%E6%88%B7%E7%AB%AF%E3%80%82%20">https://blog.csdn.net/heyl163_/article/details/132981470#:~:text=Ubuntu上安装、使用Redis的详细教程 1 1、安装redis 首先，访问 Redis官网 ，点击首页的【Get Started】，然后点击 Install,4 4、在宿主机连接redis 根据以上步骤安装启动redis后，默认只能在虚拟机内访问redis，如果在其他机器上访问，需要修改配置文件。 ... 5 5、通过java连接redis redis官方推荐通过jedis来操作redis，jedis是一个专门设计用于操作和快速使用redis的Java客户端。 </a></div></blockquote><div class="notion-text notion-block-b545ce58d38d4e86a6f6ca6e946dae33">部署docker：</div><blockquote class="notion-quote notion-block-975fb07a58654d4585d143f3d31cfc97"><div>部署宝塔，然后部署docker</div></blockquote><div class="notion-text notion-block-3beba2e4cf2e463e8767729c09a3a82d">docker相关：</div><div class="notion-text notion-block-627cce54dd204290a890639407830756">1，Dockerfile——文件已修改，<!-- -->具体查看</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-101e983a64ef800dafe8ea8e1371fe53" href="https://www.lxdzone.com/article/101e983a-64ef-8046-bfbe-d4b0192bde5e"><div><div class="notion-bookmark-title">docker相关知识 | Lxd Blog</div><div class="notion-bookmark-description">这是一个由NotionNext生成的站点</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fwww.lxdzone.com%2Ffavicon.ico?table=block&amp;id=101e983a-64ef-800d-afe8-ea8e1371fe53&amp;t=101e983a-64ef-800d-afe8-ea8e1371fe53" alt="docker相关知识 | Lxd Blog" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.lxdzone.com/article/101e983a-64ef-8046-bfbe-d4b0192bde5e</div></div></div></a></div><div class="notion-text notion-block-e1ca0e5c2cdd4e39b13653b6060814f5"><span class="notion-red"><b>注意：将jar包移动到Dockerfile一个目录，其他目录会涉及到权限问题</b></span></div><div class="notion-text notion-block-735ce9ad73d1438aa41ba668951d19f2">2，构建镜像</div><div class="notion-text notion-block-46f66f5df45f4c149f631a5675f270a4">3，运行镜像</div><div class="notion-text notion-block-5893ed890f81495aa905864c6d703563">4，查看端口，日志等</div><div class="notion-text notion-block-e4af18daf74f44b68b5e7e289f1ca32d">5,查看镜像，删除镜像</div><div class="notion-text notion-block-8ab543d4c0d743f9a7c6a34e5c7fed6c">6,进入容器</div><div class="notion-text notion-block-a4ed6cfde3844549a04ea4b1d792e62c">7,退出容器</div><div class="notion-text notion-block-922f74d5610e4e38ade74a6b895bf517">8,停止容器运行</div><div class="notion-text notion-block-8afa0765b53c4a7aa97e8cd335f35946">9，启动容器</div><div class="notion-text notion-block-b00a1a745a9d4dbda25e6cc6b5491fd9">10,移除容器，容器暂停运行之后才可以移除</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-8785107cf3c14103ba6773950ec47b0b" data-id="8785107cf3c14103ba6773950ec47b0b"><span><div id="8785107cf3c14103ba6773950ec47b0b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8785107cf3c14103ba6773950ec47b0b" title="前端部署"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">前端部署</span></span></h3><div class="notion-text notion-block-330bd68d0c02455885801b2850cae175">步骤：</div><div class="notion-text notion-block-9d6eb44354804dacb730a4846f5e30ab">1,安装apache</div><div class="notion-text notion-block-2c3904f2ab6f4034b627da1a1196f1bd">2,安装完成后，启动 Apache 服务</div><div class="notion-text notion-block-d63fe893dcea44caa57c92d77cb47042">3,并设置 Apache 在系统启动时自动启动：</div><div class="notion-text notion-block-40b4aed4d9c7464b98f66dde4bef3865">4,开启防火墙</div><div class="notion-text notion-block-3ee0bf3f929b416380cf285a03078aba">5,默认情况下，Apache 的 Web 目录是 /var/www/html。你可以将你的 HTML 文件放入该目录。将你的项目文件复制到该目录后，可以通过浏览器访问服务器的 IP 地址来查看网站，例如：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://121.199.39.36/index.html">http://121.199.39.36/index.html</a>或者<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://121.199.39.36/bootstrap-4.5.0/html/index.html">http://121.199.39.36/bootstrap-4.5.0/html/index.html</a></div><div class="notion-text notion-block-261d7bd4aa1f402294e0ee87d6b72e21">6,证书下载</div><div class="notion-text notion-block-4aec89a105f24459bc43ecdc410756cd">7,配置证书</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-101e983a64ef80c0b0d3d34442ae960e" data-id="101e983a64ef80c0b0d3d34442ae960e"><span><div id="101e983a64ef80c0b0d3d34442ae960e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#101e983a64ef80c0b0d3d34442ae960e" title="域名绑定"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">域名绑定</span></span></h3><div class="notion-text notion-block-101e983a64ef80a9ac9bd22507801393">腾讯云域名lxdzone.com绑定阿里云ip地址</div><div class="notion-text notion-block-101e983a64ef805c88dce15d06fefe91">腾讯云配置好即可</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-16ce983a64ef80f793e6cb74ce4eaeb2" data-id="16ce983a64ef80f793e6cb74ce4eaeb2"><span><div id="16ce983a64ef80f793e6cb74ce4eaeb2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#16ce983a64ef80f793e6cb74ce4eaeb2" title="前端部署方案二：next.js"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">前端部署方案二：next.js</span></span></h3><div class="notion-text notion-block-16ce983a64ef805da0c7f3c332dfda29">1，将整个项目文件上传到服务器目录/var/www/senior-project</div><div class="notion-text notion-block-16ce983a64ef80b396ecdb6c229a87da">2，安装依赖npm install </div><div class="notion-text notion-block-16ce983a64ef80d88528d4f0a73c9dae">3，构建项目npm run build</div><div class="notion-text notion-block-16ce983a64ef8066afaccfbda034b81e">4，启动项目 npm run start (我需要一直运行，所有用其他命令 )</div><div class="notion-text notion-block-16ce983a64ef801a882ae966553e3aa4">nohup npm run start &amp;&gt; nextjs.log &amp;</div><div class="notion-text notion-block-16ce983a64ef80a091cbe0d9a6f7da26">5，端口开放，需要阿里云页面添加，命令添加的不起作用</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-35f80f95909742af84811e9a5702632d" data-id="35f80f95909742af84811e9a5702632d"><span><div id="35f80f95909742af84811e9a5702632d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#35f80f95909742af84811e9a5702632d" title="问题处理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">问题处理</span></span></h3><div class="notion-text notion-block-5a96a50ab66d4f4f9d4a350a1b6f4bb9">1:mysql初次设置没设置密码，后续修改一一直无效;</div><div class="notion-text notion-block-71ad6d3b68f645a4866d46d3b40005d4">解决步骤：</div><div class="notion-text notion-block-9d79370833d74714b8506af13e5b3dea">2,mysql连接本地的问题（简单命令由于我密码复杂带特殊符号失效）</div><div class="notion-text notion-block-1d08a4a37681481586410bd7413c3891">解决步骤：</div><div class="notion-text notion-block-1faa9cb240c749caae16583b68c50cc2">3,redis连接不上的问题处理：</div><div class="notion-text notion-block-9a8684064cfc459aa65a083cdb7e95ce">解决步骤</div><div class="notion-text notion-block-0a94795f301a49e6a0f3156b1b9a8ad3">4,跨域问题处理</div><div class="notion-text notion-block-049e69a32efb4664a313663a2f7f73c7">解决步骤<div class="notion-text-children"></div></div><div class="notion-text notion-block-26611c2b392346808a92e82225371195">5，本地postman访问报错问题处理</div><div class="notion-text notion-block-101e983a64ef80d8bb89dd180a331235">解决方案： 本地缓存域名还是原来的ip，清空本地缓存</div><div class="notion-blank notion-block-f5e7152fb7b143129e9f83b9384bffb2"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[docker相关知识]]></title>
            <link>https://tangly1024.com/article/101e983a-64ef-8046-bfbe-d4b0192bde5e</link>
            <guid>https://tangly1024.com/article/101e983a-64ef-8046-bfbe-d4b0192bde5e</guid>
            <pubDate>Sat, 14 Sep 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-101e983a64ef8046bfbed4b0192bde5e"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-524582039e58451c86b7d213cc131d07">包含docker相关命令，以及镜像源，问题处理</div><div class="notion-blank notion-block-fbf9ef8b308047f782c533051139d9cc"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-cffa3739cf624063b741419b69b515b3" data-id="cffa3739cf624063b741419b69b515b3"><span><div id="cffa3739cf624063b741419b69b515b3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cffa3739cf624063b741419b69b515b3" title="📝 构建镜像"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 构建镜像</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1e47970634f149f0b6d77609b0bd06e0" data-id="1e47970634f149f0b6d77609b0bd06e0"><span><div id="1e47970634f149f0b6d77609b0bd06e0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1e47970634f149f0b6d77609b0bd06e0" title="1，由于防火墙问题，修改docker拉取镜像地址文件 /etc/docker/daemon.json"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1，由于防火墙问题，修改docker拉取镜像地址文件 /etc/docker/daemon.json</span></span></h3><div class="notion-text notion-block-43b05aa21d3f4ecda551b9c52cd2e56e">里面的地址修改为登陆阿里云后获取的阿里云镜像加速地址<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors">https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors</a>，我的地址为</div><div class="notion-text notion-block-101e983a64ef80008f48c84425310efd">修改后需要重启docker</div><div class="notion-text notion-block-101e983a64ef80f9b11cc66f0a2fdae2">2，doocker file文件修改</div><div class="notion-text notion-block-e37333bd18cb44dead5954336c78f2a6">原文件为：</div><div class="notion-text notion-block-101e983a64ef80fe850fdd8c87c8e224">修改后为</div><div class="notion-text notion-block-4a25980555d040fb9a428765db32392b">将jdk的tar包复制一份到打包镜像的路径里</div><div class="notion-blank notion-block-fbbc073f59ad459ebc554b9daadeb839"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0c4f5f147c844841a312630df3db8ff4" data-id="0c4f5f147c844841a312630df3db8ff4"><span><div id="0c4f5f147c844841a312630df3db8ff4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0c4f5f147c844841a312630df3db8ff4" title="📎 参考文章"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📎 参考文章</span></span></h2><ul class="notion-list notion-list-disc notion-block-ffeb250cc7954b859f3b18a1d3b0cbe2"><li>一些引用</li></ul><ul class="notion-list notion-list-disc notion-block-54f3b7cb132a4ed3aa06e458183b10a6"><li>引用文章</li></ul><div class="notion-blank notion-block-5b888369135e432dade2fb32e61d28d9"> </div><div class="notion-callout notion-gray_background_co notion-block-194a5adead6b4818aebb3fcf5a6131cb"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>