{"id":164,"date":"2021-04-26T21:22:46","date_gmt":"2021-04-26T13:22:46","guid":{"rendered":"http:\/\/112.124.66.68\/?p=164"},"modified":"2021-04-26T21:22:46","modified_gmt":"2021-04-26T13:22:46","slug":"%e5%92%8c%e7%9a%84%e5%8c%ba%e5%88%ab%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2021\/04\/26\/%e5%92%8c%e7%9a%84%e5%8c%ba%e5%88%ab%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/","title":{"rendered":"#{}\u548c${}\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"> <\/h1>\n\n\n\n<h1 class=\"has-normal-font-size wp-block-heading\">#{}\u662f\u9884\u7f16\u8bd1\u5904\u7406\uff0c${}\u662f\u5b57\u7b26\u4e32\u66ff\u6362\u3002<\/h1>\n\n\n\n<h1 class=\"has-normal-font-size wp-block-heading\">Mybatis\u5728\u5904\u7406#{}\u65f6\uff0c\u4f1a\u5c06sql\u4e2d\u7684#{}\u66ff\u6362\u4e3a?\u53f7\uff0c\u8c03\u7528PreparedStatement\u7684set\u65b9\u6cd5\u6765\u8d4b\u503c\uff1b<br>Mybatis\u5728\u5904\u7406${}\u65f6\uff0c\u5c31\u662f\u628a${}\u66ff\u6362\u6210\u53d8\u91cf\u7684\u503c\u3002<br>\u4f7f\u7528#{}\u53ef\u4ee5\u6709\u6548\u7684\u9632\u6b62SQL\u6ce8\u5165\uff0c\u63d0\u9ad8\u7cfb\u7edf\u5b89\u5168\u6027<\/h1>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>#{}\u662f\u9884\u7f16\u8bd1\u5904\u7406\uff0c${}\u662f\u5b57\u7b26&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":207,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mybatis"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/207"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}