更新审核机制
This commit is contained in:
parent
d4da4b7161
commit
4319b70ede
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue