Configure the time zone according to what is said on the Internet. I have tried both upper and lower case. The time printed in the second picture is consistent with the database and is correct. However, after executing return, the time becomes eight. Hours, the database shows nine o'clock, and the response to me is five o'clock, and the database returns 1970-1-1 8:00 instead of 0 but 28800000
The database time zone, Driver time zone, and Jackson serialization time zone must be consistent. If the Driver and database time zones are consistent without special settings, then your Jackson time zone configuration may be wrong.