配置文件中数据库连接加上
&serverTimezone=Asia/Shanghai
spring.datasource.url=jdbc:mysql://localhost:3306/zdsq?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
&allowMultiQueries=true :允许mysql批量更新
配置文件中数据库连接加上
&serverTimezone=Asia/Shanghai
spring.datasource.url=jdbc:mysql://localhost:3306/zdsq?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
&allowMultiQueries=true :允许mysql批量更新