ibatis插入返回id值
<!--在insert语句下面加入一下代码即可返回插入的Id值--><selectKey resultkeyProperty="id"> SELECT @@IDENTITY AS ID</selectKey>