![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mabatis
倔强的阳哥
这个作者很懒,什么都没留下…
展开
-
mybatis批量更新遇到的坑
##连接数据库的url中要加入?allowMultiQueries=true否则会报错 Dao int updateGxMessageInfo(@Param(“list”)List list); xml update gx_message_info set status=2 where id = #{item.id} and status <![CDATA[!=]]>1 ...转载 2018-11-16 13:32:45 · 715 阅读 · 0 评论 -
mysql关于时间查询索引技巧
EXPLAIN select mobile mobile,channel_no channelNo,add_time addTime,type type from mobile_grant_rights WHERE add_time >‘2019-03-25 17:09:12’ and add_time<=‘2019-04-04 16:20:39’ 这样索引有效 EXPLAIN sel...原创 2019-04-04 17:18:20 · 8550 阅读 · 4 评论