瀏覽代碼

修改人才申报审核(所有审核步骤)中,关于企业搜索,将各单位对应企业分开

sandm 1 年之前
父節點
當前提交
06e8bfacfd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/common/api/EnterpriseApi.php

+ 1 - 0
app/common/api/EnterpriseApi.php

@@ -21,6 +21,7 @@ class EnterpriseApi {
     public static function getSimpleList($extra = array()) {
         $where[] = ["active", "=", 1];
         $where[] = ["delete", "=", 0];
+        $where[] = ['type','=',session('user')['type']];
         if ($extra) {
             $where = array_merge($where, $extra);
         }