更新审核机制

This commit is contained in:
yaooo 2023-11-18 14:15:19 +08:00
parent d4da4b7161
commit 4319b70ede
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class OaApprove extends ApiController
$loginAdmin = Db::name('Admin')->where(['id' => $uid])->find(); $loginAdmin = Db::name('Admin')->where(['id' => $uid])->find();
$did = $loginAdmin['did']; $did = $loginAdmin['did'];
// 如果是人事部 // 如果是人事部
$departmentId = Db::name('Department')->where(['title' => '人事部'])->value('id'); $departmentId = Db::name('Department')->where(['title' => '综合部'])->value('id');
if ($did == $departmentId) { if ($did == $departmentId) {
$list[] = [ $list[] = [
"id" => 9998, "id" => 9998,