解决net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: “>=“ <OP_GREATERTHANEQUALS>

问题:

在这里插入图片描述

在这里插入图片描述

Sql在Navicat里面能执行,但是在项目中却执行不了报错net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: ">=" <OP_GREATERTHANEQUALS>

解决:

在这里插入图片描述

@InterceptorIgnore(tenantLine = "true")

直接在Mapper接口对应的方法上加上这个注解就好了!

猜你喜欢

转载自blog.csdn.net/weixin_44912902/article/details/133132135