![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
--------MyBatis
文章平均质量分 63
EchoShelter
怕什么真理无穷,进一寸有一寸的欢喜!
展开
-
MyBatis参数传递
MyBaties参数传递方式: 1. 单个参数 (1) 实体类属性名传入,如下所示:<select id="selectUrlByConfigId" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from spider_...转载 2018-04-09 19:18:36 · 183 阅读 · 0 评论 -
MyBatis批量更新数据
数据库: MySQL5.6 MyBitis:3.2.8 MyBatis批量更新的方法: *dao.java中的方法为:void updateQueueHasnNull(@Param("urlQueue")List<Map<String, String>> urlQueue);*mapper.xml<!-- 更新URL的hash状态值 -->...原创 2018-04-17 13:11:05 · 1548 阅读 · 0 评论