插入数据 返回主键

 <insert id="insertSelective" parameterType="**.dao.model.message.generator.change.Change" useGeneratedKeys="true" keyProperty="changeId" keyColumn="CHANGE_ID">

猜你喜欢

转载自blog.csdn.net/stone_tomcate/article/details/82993427