并行执行ORM查询报错:EntityNotExistsException

金蝶云社区-阿尔法的记忆
阿尔法的记忆

20 并行执行ORM查询报错:EntityNotExistsException

1、查询的实体在其他地方使用是没问题的;2、使用QueryServiceHelper.exists(EntityConst.LC_ARRIVAL, new QFilter[]{ new QFilter … 显示全部

代发布回答关注问题收起
  • 关注者0
  • 被浏览401
查看全部1个回答
金蝶云社区-周立思
周立思

0人认为该答案有用

参考资料:https://vip.kingdee.com/link/s/l3PPi[图片]你可以看下源码kd.bos.entity.cache.CacheKeyUtil.getAcctId() 调试,实际异常RequestContext.get() 为 null

编辑于 2024年03月08日 19:02:29

展开阅读全文

查看全部1个回答