Mybatis中的这样写条件时,运行报错
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION security.to_date does not exist

解决:说明使用的to_date不存在或当前版本不支持,换成to_days就可以了
Mybatis中的这样写条件时,运行报错
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION security.to_date does not exist

解决:说明使用的to_date不存在或当前版本不支持,换成to_days就可以了