Alright, it is my bad. I set CURRENT_TIMESTAMP as the default value in MySQL for create_time. But then “update_time” wouldn’t want to update when I use updateByPk(), is this an expected behavior?
when you use TIMESTAMP you have to set attributes in mysql to on update CURRENT_TIMESTAMP, but my advice is to use time in numbers as interger couse is faster