2023年5月20日

Mybatisplus3.5.1+shardingsphere-jdbc5.1.1分表

摘要: > 注意使用雪花ID的话,查询ID时候必须使用long类型的ID,不要使用MP自带的默认的Serializable类型。否则会提示分片主键id数据类型和分片算法不匹配Inline sharding algorithms expression `xxx` and sharding column `xx 阅读全文

posted @ 2023-05-20 17:53 白嫖老郭 阅读(230) 评论(0) 推荐(0) 编辑

导航