From 2007dfe40f4fc4b4d12017e48f389a53d61a7a31 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Thu, 13 Jul 2023 11:07:31 +0800 Subject: [PATCH] =?UTF-8?q?performerId=20=E4=BC=A0=E5=85=A5=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E4=B8=8D=E5=86=8D=E6=8C=89=E7=85=A7g?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E4=B8=8B=E5=85=A8=E9=83=A8=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/report/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/controllers/report/index.js b/api/app/lib/controllers/report/index.js index 49f5ff41..59d87750 100644 --- a/api/app/lib/controllers/report/index.js +++ b/api/app/lib/controllers/report/index.js @@ -13,7 +13,7 @@ async function reportList (ctx) { userInfo.loginSource == 'wx' && userInfo.isAdmin && userInfo.phone != 'SuperAdmin' - && (!performerId || !handleState) + && (!performerId && !handleState) ) { // 是管理员但不是超管 查自己部门及下级部门的所有用户的信息 const sqlStr = `