diff --git a/app/api/controller/OaApprove.php b/app/api/controller/OaApprove.php index d6953d4..49b66d0 100644 --- a/app/api/controller/OaApprove.php +++ b/app/api/controller/OaApprove.php @@ -70,7 +70,7 @@ class OaApprove extends ApiController $loginAdmin = Db::name('Admin')->where(['id' => $uid])->find(); $did = $loginAdmin['did']; // 如果是人事部 - $departmentId = Db::name('Department')->where(['title' => '人事部'])->value('id'); + $departmentId = Db::name('Department')->where(['title' => '综合部'])->value('id'); if ($did == $departmentId) { $list[] = [ "id" => 9998,