qichhhhh

Results 2 issues of qichhhhh

启动时会因为 JsqlParser 版本冲突导致报错 `org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration': Invocation of init method failed; nested exception is java.lang.BootstrapMethodError: java.lang.IllegalAccessError: no such constructor: com.github.pagehelper.parser.defaults.DefaultCountSqlParser.()void/newInvokeSpecial ` MybatisPlus 3.5.5 -> JsqlParser 4.6...

现在项目中是根据 APPID 在数据库中查询出 tenant_id,WxMpMessageRouter 的第一个 rule 是 ``` router.rule() .async(false) .handler(preMessageHandler) .next(); ``` ![image](https://github.com/Wechat-Group/WxJava/assets/24191302/e3e7c145-d18a-4e1d-8834-aca3d8bddde6) 将查出的 tenant_id 存入 context 和 TenantHolder 中,MybatisPlus 的多租户插件通过 TenantHolder.get() 取到租户id,并且在后续的查询中拼接 SQL,并且配置了全局拦截器进行 holder.remove()。 遇到的问题是,TenantHolder 中的值可以被同步 handler 取到,但是有一些...