@Options(useGeneratedKeys = true, keyProperty = “id”, keyColumn = “id”) 注意:自增id被赋值到bean中,获取时需要用 bean.getId();