Caused by: 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 ‘xxx= ‘02’’ at line 5
根据提示找到mabatis具体行数,查看错误,这个错误之一原因是多条件查询 漏掉了and 导致sql语句语法错误
Caused by: java.sql.SQLSyntaxErrorException: Unknown column ‘xxx’ in ‘where clause’
查询字段在表内不存在,查询字段错误