![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
weixin_41785851
这个作者很懒,什么都没留下…
展开
-
Invalid bound statement (not found) selectList
spring boot+mybatis-plus,引用mybatis-plus 执行发现自己写的sql可以执行,执行basemapper里的方法就会出错原创 2021-06-11 15:48:24 · 3856 阅读 · 3 评论 -
mybatis中模糊查询语句
<if test="workNo != null and workNo != ''"> and work_id like concat('%',#{workNo,jdbcType=VARCHAR},'%')</if>原创 2021-05-13 14:58:14 · 119 阅读 · 0 评论 -
mybatis同一个事务中批量更新
<update id="batchUpate" parameterType="java.util.List" > update t_project_order set t_project_state = CASE t_project_id <foreach collection="list" item="item" index="index" separator=" "> WHEN ${item.tProjectId} THEN '${ite.原创 2021-05-13 14:54:47 · 934 阅读 · 0 评论