摘要: 1、解决springboot项目,插入时间数据到数据库为空的问题: SpringBoot Jpa 实体定义,在MySql中自动生成时间 https://blog.csdn.net/wokenshin/article/details/81215330 阅读全文
posted @ 2019-02-26 17:25 蔚之蓝 阅读(2140) 评论(0) 推荐(0) 编辑
摘要: 第一步:给 id 增加auto_increment 属性 alter table tablename modify id int(11) auto_increment;第二步:给自增值设置初始值 alter table tablename auto_increment=10000; 阅读全文
posted @ 2019-02-26 14:46 蔚之蓝 阅读(16057) 评论(0) 推荐(0) 编辑