I use spring boot as the basic framework, I define a Long format field named startTime, but when the input value is a string like "2020-04-21 12:00:00", the framework converts "2020-04-21 12:00:00" to a timestamp like 253652458665256 automatically. here I don't need it to be converted. I need the original value. because I will check the startTime value whether it satisfies my rule.
i tried to set something in application.properties.like spring.jackson.deserialization.adjust-dates-to-context-time-zone=false. but it does not work.
problems describedenter image description here in the image below
supplementary instruction: 1. The reason for using a Long type to store the time of date is UTC timestamp ignoring timezone. because it refers to timezone in my project, so for the convenient of handling date, UTC timestamp is the first choice.