随笔 - 333  文章 - 1 评论 - 30 阅读 - 84万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

04 2016 档案
mybatis中使用in查询时的注意事项
摘要:1. 当查询的参数只有一个时 findByIds(List<Long> ids) 1.a 如果参数的类型是List, 则在使用时,collection属性要必须指定为 list <select id="findByIdsMap" resultMap="BaseResultMap"> Select < 阅读全文
posted @ 2016-04-22 13:58 何石-博客 阅读(342) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示