原因:连接时区设置与数据库不一致,修改为serverTimezone=Asia/Shanghai
dataSource.url=jdbc:mysql://localhost:3306/zjstw_cs?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai https://blog.csdn.net/fengdong1996/article/details/108623147