必須要設置ID是怎么回事
### Error updating database.? Cause: java.sql.SQLException: Field 'id' doesn't have a default value
### The error may involve com.miaoshaproject.dao.UserPasswordDOMapper.insertSelective-Inline
### The error occurred while setting parameters
### SQL: insert into user_password????? ( encrpt_password,?????????????????????? user_id )?????? values ( ?,?????????????????????? ? )
### Cause: java.sql.SQLException: Field 'id' doesn't have a default value
; ]; Field 'id' doesn't have a default value; nested exception is java.sql.SQLException: Field 'id' doesn't have a default value]
2019-01-11
解決了,原來user_password表的ID忘記設置自增長了,尷尬