lgy 5 days ago
parent
commit
340232509d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jcjyhr/app/admin/controller/institution/Institution.php

+ 1 - 1
jcjyhr/app/admin/controller/institution/Institution.php

@@ -172,7 +172,7 @@ class Institution extends Backend
         }
         if(!empty($id))
         {
-            $organization = $this->model->where('id',$id)->select()->toArray();
+            $organization = $this->model->where('institution_code',$id)->select()->toArray();
         }elseif(!empty($name)){
             $organization = $this->model->where('name',$name)->select()->toArray();
         }else{