我用的mybatisplus3.1.2,insert的時(shí)候不將字段全傳就會(huì)報(bào)錯(cuò)
### Error updating database.? Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe,
logo_add,
create_time,
update_time,
status )? VALUES? ( '1',
'2',
'202' at line 1
### The error may exist in com/quxing/mapper/member/MemberTypeDao.java (best guess)
### The error may involve com.quxing.mapper.member.MemberTypeDao.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO member_type? ( describe, logo_add, create_time, update_time, status )? VALUES? ( ?, ?, ?, ?, ? )
2020-07-26
你最好把建表語句貼出來,然后把實(shí)體類配置,和yml文件的配置也貼出來。
2020-07-07
最好把代碼截圖也放出來
2020-07-07
把建表sql語句貼出來