{"type":"rich","width":"100%","title":"mybatis \u53ef\u5909\u9577\u5f15\u6570\u30e1\u30bd\u30c3\u30c9\u3092SQL\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3002\u3002\u3002","published":"2022-07-01 00:30:00","provider_name":"Hatena Blog","author_name":"posturan","blog_url":"https://oboe2uran.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/posturan/","image_url":null,"description":"Java\u30e1\u30bd\u30c3\u30c9\u53ef\u5909\u9577\u5f15\u6570\uff08variable length arguments\uff09\u4f7f\u7528\u3067\u306e SQL\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u30ea\u30b9\u30c8\u3092\u5f15\u6570\u306b\u3057\u305f\u5834\u5408\u306e\u30b5\u30f3\u30d7\u30eb @Select(\"<script>SELECT * FROM tb_items WHERE 1=1\" + \" AND item_id IN <foreach collection='list' item='id'\" + \" separator=',' open='(' close=')'>#{id}</foreach>\" + \"</script>\") public List<Item> getItems(List<Integer> idlist); l\u2026","url":"https://oboe2uran.hatenablog.com/entry/2022/07/01/003000","categories":["mybatis"],"version":"1.0","provider_url":"https://hatena.blog","blog_title":"Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2022%2F07%2F01%2F003000\" title=\"mybatis \u53ef\u5909\u9577\u5f15\u6570\u30e1\u30bd\u30c3\u30c9\u3092SQL\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3002\u3002\u3002 - Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}