mybatis插入数据返回自增主键(last_insert_id()),返回非自增主键(使用uuid())
自增主键返回首先在personMapper.xml中添加用户SELECTlast_insert_id()insertintouser(username,password)value(#{username},#{password})非自增主键返回selectuuid()insertintouuser(id,username,password)value(#{id},#{username},#{pas