摘要:
1. 插入对象后获取主键 <insert id="add" useGeneratedKeys="true" keyProperty="vo.id"> 如果传的是(@Param("vo") Employee vo) 形式的参数,需要使用vo.id。如果直接使用(Employee vo),则使用keyP 阅读全文
posted @ 2016-05-31 19:19
Jtianlin
阅读(170)
评论(0)
推荐(0)