1. mysql中时间类型对应java中的函数 mysqljavaDATATIMEimport java.util.Date;2021-08-19 09:04:10new Date() 2. Example station.setUpdateTime(new Date());