|
@@ -110,7 +110,7 @@ class EnterpriseApi {
|
|
|
if ($company_info['code'] != 'super') {
|
|
|
$where[] = ['type', '=', session('user')['type']];
|
|
|
if (session('user')['type'] == 1) {
|
|
|
- $list = Db::table('sys_enterprisetype_properties')->where('companyIds', 'like', $companyId)->select()->toArray();
|
|
|
+ $list = Db::table('sys_enterprisetype_properties')->where('companyIds', 'like', "%{$companyId}%")->select()->toArray();
|
|
|
$talentType = [];
|
|
|
foreach ($list as $k => $v) {
|
|
|
array_push($talentType, $v['talentType']);
|