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 = `