這樣的報錯內(nèi)容
?Error attempting to get column 'create_time' from result set.? Cause: java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp
; ]; Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp; nested exception is java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp
2020-05-18
2020-05-18
創(chuàng)建秒殺成功表的時候有create_time這個屬性,但是在在插入記錄insertSuccessKilled()時候沒有涉及create_time,因此create_time是空值,導(dǎo)致queryByIdWithSeckill()測試失?。╯k.create_time為空)。
我三月份遇到這個問題,還沒解決。。。。