![](../../asset/images/user/BgImg_default.jpg)
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
npm i -D miniprogram-api-typings @uni-helper/uni-app-types报错改用pnpm解决
【代码】npm i -D miniprogram-api-typings @uni-helper/uni-app-types报错改用pnpm解决。
![文章图片](https://img-blog.csdnimg.cn/img_convert/a7b426f027554ddcbce196b962043da2.png)
@InterceptorIgnore(illegalSql = “true“, tenantLine = “true“)解决MyBaits ParseException unexpected toke
此时在mapper方法上方加上注解@InterceptorIgnore(tenantLine = "true")即可避开报错,如果不写注解,方法仍然可以执行,只是日志会提示错误,实际不影响程序运行。在MyBatis的xml中如果写了UNION比较复杂的查询,有时候报错optimize this sql to a count sql has exception。
![文章图片](https://img-blog.csdnimg.cn/img_convert/1f20816e15694cf3b56262c1f87e2a14.png)
@InterceptorIgnore(illegalSql = “true“, tenantLine = “true“)解决MyBaits ParseException unexpected toke
此时在mapper方法上方加上注解@InterceptorIgnore(tenantLine = "true")即可避开报错,如果不写注解,方法仍然可以执行,只是日志会提示错误,实际不影响程序运行。在MyBatis的xml中如果写了UNION比较复杂的查询,有时候报错optimize this sql to a count sql has exception。
![文章图片](https://img-blog.csdnimg.cn/img_convert/1f20816e15694cf3b56262c1f87e2a14.png)
暂无文章信息