随笔分类 - MyBatisPlus学习
MyBatisPlus学习区域
摘要:增删改 id生成策略 @TableId(Type = IdType.) auto 自增 none input 数据库不要自增,代码中需要指定id assign_ID 雪花 数据库bigint 占位 1 时间戳 41 机器码(5+5) 序列号 12 assign_UUID 全局配置:配置idtype
阅读全文
摘要:MP入门程序 创建配置有MySQL的的springboot项目(不要导入mybatis) 添加MPbootstarter依赖3.4.1 datasource dao继承BaseMapper end @test insert,deletebyid(...L),updata(null不修改),selec
阅读全文