摘要: 如果要插入的某张表,没有id主键,二十类似user_id作为主键,由于是不能自增的所以应该设置为 @TableId(value = "user_id", type = IdType.ASSIGN_ID) 而不应该是: @TableId(value = "user_id", type = IdType 阅读全文
posted @ 2024-07-23 11:46 冷风5997 阅读(14) 评论(0) 推荐(0)