jeesite
jeesite copied to clipboard
jeesite 如何使用自增型主键
首先mysql中主键
`id` int(11) NOT NULL AUTO_INCREMENT,
在代码生成第二步配置表插入列的字段中,不要勾选id列,即可.这样就能实现自增型主键。