最近开发过程中,sql 在MySQL数据库中,使用Navicat运行没有问题,但是运行项目的时候,死活过不去,一直报错
et.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "AGAINST"
at line 88, column 37.
Was expecting one of:
"&"
"&&"
"."
"::"
";"
"<<"
">>"
"AND"
"COLLATE"
"CONNECT"
"EXCEPT"
"FOR"
"GROUP"
"HAVING"
"INTERSECT"
"MINUS"
"ORDER"
"START"
"UNION"
"^"
"|"
方法一:
升级pagehelper插件
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.12</version>
</dependency>
方法二:
拦截忽略检查注解 @InterceptorIgnore(tenantLine = “true”)
@InterceptorIgnore(tenantLine = "true")
IPage appDoctorList(Page page,@Param("vo") DoctorSearchVo vo);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)