save方法返回主键

save方法后返回该实体的对象,然后该对象的id就是生成的主键

猜你喜欢

转载自blog.csdn.net/qq_41340666/article/details/93769296