提交 fd3a4d88 编写于 作者: X xinwen 提交者: Jiangjie.Bai

fix: Root 组织查不到命令记录

上级 42afc1e0
......@@ -121,7 +121,11 @@ class CommandStore():
org_id = match.get('org_id')
real_default_org_id = '00000000-0000-0000-0000-000000000002'
if org_id in (real_default_org_id, ''):
root_org_id = '00000000-0000-0000-0000-000000000000'
if org_id == root_org_id:
match.pop('org_id')
elif org_id in (real_default_org_id, ''):
match.pop('org_id')
should.append({
'bool':{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册