Springboot整合MyBatis-plus:自动填充时间字段

Springboot整合MyBatis-plus:自动填充时间字段

一、查看完整目录结构

在这里插入图片描述

二、mysql数据库增加时间字段create_time、update_time

alter table stu_info add column create_time datetime not null default '2020-01-01 00:00:00' comment "生成时间"

猜你喜欢

转载自blog.csdn.net/zhengzaifeidelushang/article/details/115256426