root 5 年之前
父節點
當前提交
3adb1588e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/Http/Controllers/Main/CompoundController.php

+ 1
- 1
app/Http/Controllers/Main/CompoundController.php 查看文件

@@ -362,7 +362,7 @@ class CompoundController extends Controller
$id = Auth::guard('sadmin')->id();
$user = Staff::with('StaffDetail')->find($id);
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->orWhere('non',$kpd)->first();
if(empty($compound))
{
$kpd = (int)$kpd;

Loading…
取消
儲存