mybatis插入数据后返回对象id

1.插入的为对象,成功插入后,会返回到指定的字段id中,@Options(useGeneratedKeys=true,keyColumn="id")。

猜你喜欢

转载自www.cnblogs.com/tygtyg/p/10448515.html