报错信息:
bad SQL grammar []; nested exception is 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 '22
'',
'2021-08-15' )' at line 39]
问题:
修改xml文件时,忘记添加逗号,mybatis只会默认处理sql语句结尾的逗号。