mybatis新增一条记录,返回id主键

<insert id="addList" parameterType="java.util.List"  useGeneratedKeys="true" keyProperty="id">

猜你喜欢

转载自blog.csdn.net/zflb2008/article/details/90292351