【异常】MyBatis-Plus因@TableId错误使用,导致主键未生成,SQL异常提示SQLException: Field ‘id‘ doesn‘t have a default value
一、异常内容org.springframework.dao.DataIntegrityViolationException:###Errorupdatingdatabase.Cause:java.sql.SQLException:Field'crash_id'doesn'thaveadefaultvalue###Theerrormayexistincom/xxx/terminal/mapper/C