![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
cyj7696
这个作者很懒,什么都没留下…
展开
-
mybatis foreach
<if test="taskcardIds!=null and taskcardIds.size>0"> and taskcard_id in <foreach collection="taskcardIds" item="item" open="(" close=")" separator=","> #{item} </foreach></if>原创 2020-05-14 16:58:22 · 133 阅读 · 0 评论 -
mybatis 新增 返回自定义主键
<selectKey resultType="java.lang.Long" keyProperty="id" order="AFTER" > SELECT LAST_INSERT_ID()</selectKey> ```原创 2020-05-12 15:26:12 · 866 阅读 · 0 评论