id-type: ASSIGN_ID
时间: 2024-02-11 21:28:25 浏览: 87
terraform-ecs:AWS ECS terraform模块
id-type: ASSIGN_ID表示使用雪花算法生成主键ID,主键类型为Long或String(分别对应MySQL的表字段为BIGINT和VARCHAR)。\[3\]
#### 引用[.reference_title]
- *1* *3* [Mybatis-plus学习笔记](https://blog.csdn.net/qq_43842093/article/details/126446116)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [MybatisPlus 主键策略(type=IdType.ASSIGN_ID等详解)](https://blog.csdn.net/weixin_44259233/article/details/122189281)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文