{"id":507,"date":"2024-04-11T17:24:42","date_gmt":"2024-04-11T09:24:42","guid":{"rendered":"https:\/\/www.coffecat.cn\/?p=507"},"modified":"2024-08-27T12:25:46","modified_gmt":"2024-08-27T04:25:46","slug":"%e6%83%8a%e5%a4%a9%e5%b7%a8%e5%9d%91","status":"publish","type":"post","link":"https:\/\/www.coffecat.cn\/index.php\/2024\/04\/11\/%e6%83%8a%e5%a4%a9%e5%b7%a8%e5%9d%91\/","title":{"rendered":"\u60ca\u5929\u5de8\u5751"},"content":{"rendered":"\n<p>\u5982\u679c\u4f60\u7684springboot\u9879\u76ee\u4e2d\u5b58\u5728Mapper\u6ce8\u5165\u4e0d\u4e86\uff0c\u5e76\u4e14\u6240\u6709\u6587\u4ef6\u5c42\u7ea7\u65e0\u8bef\u4e14\u914d\u7f6e\u9f50\u5168\uff0c\u8bf7\u68c0\u67e5\u4f60\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u662f\u5426\u5b58\u5728\u8fd9\u4e00\u884c\u4ee3\u7801\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"  autoconfigure:\n    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">autoconfigure<\/span><span style=\"color: #ECEFF4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">exclude<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u539f\u7531\uff1a\u56e0\u4e3a\u65b0\u521b\u5efa\u7684\u9879\u76ee\u5305\uff0c\u521a\u5f00\u59cb\u7684\u65f6\u5019\u6ca1\u6709\u7528\u5230\u6570\u636e\u5e93\uff0c\u4e14\u542f\u52a8\u65f6\u5b58\u5728\u6570\u636e\u5e93\u62a5\u9519\u95ee\u9898\uff0c\u5728\u5ea6\u5a18+ai\u7684\u52a0\u6301\u4e0b\u590d\u5236\u7c98\u8d34\u4e86\u8fd9\u884c\u4ee3\u7801\uff0c\u95ee\u9898\u77ac\u95f4\u5c31\u89e3\u51b3\u4e86\uff0c\u7ed3\u679c\u4eca\u5929\u6dfb\u52a0\u65b0\u9700\u6c42\u4f7f\u7528\u6570\u636e\u5e93\u65f6\uff0c\u6b7b\u6d3b\u6ce8\u5165\u4e0d\u4e86\uff0c\u53cd\u590d\u5bf9\u6bd4\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u6700\u540e\u8fd8\u662f\u540c\u65f6\u5bf9\u6bd4\u5176\u4ed6\u9879\u76ee\u914d\u7f6e\u6587\u4ef6\u53d1\u73b0\u7684\u8fd9\u884c\u914d\u7f6e\u4ee3\u7801\u4e0d\u540c\u3002\u53bb\u9664\u540e\u89e3\u51b3\u6ce8\u5165\u4e0d\u4e86\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u7684springboot\u9879\u76ee\u4e2d\u5b58\u5728Mapper\u6ce8\u5165\u4e0d\u4e86\uff0c\u5e76\u4e14\u6240\u6709\u6587\u4ef6\u5c42\u7ea7\u65e0\u8bef\u4e14\u914d\u7f6e\u9f50\u5168\uff0c\u8bf7\u68c0\u67e5\u4f60\u7684\u914d\u7f6e\u6587\u4ef6 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.coffecat.cn\/index.php\/2024\/04\/11\/%e6%83%8a%e5%a4%a9%e5%b7%a8%e5%9d%91\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u60ca\u5929\u5de8\u5751\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-507","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"views":561,"_links":{"self":[{"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/comments?post=507"}],"version-history":[{"count":2,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/posts\/507\/revisions"}],"predecessor-version":[{"id":653,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/posts\/507\/revisions\/653"}],"wp:attachment":[{"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/media?parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/categories?post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coffecat.cn\/index.php\/wp-json\/wp\/v2\/tags?post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}