|
@@ -26,10 +26,10 @@ 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 = \app\common\model\EnterpriseVerifyMgr::where('companyId', '=', $companyId)->select()->toArray();
|
|
|
$talentType = [];
|
|
|
foreach ($list as $k => $v) {
|
|
|
- array_push($talentType, $v['talentType']);
|
|
|
+ array_push($talentType, $v['enterpriseTag']);
|
|
|
}
|
|
|
$where[] = ['enterpriseTag', 'in', $talentType];
|
|
|
}
|
|
@@ -110,10 +110,10 @@ 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 = \app\common\model\EnterpriseVerifyMgr::where('companyId', '=', $companyId)->select()->toArray();
|
|
|
$talentType = [];
|
|
|
foreach ($list as $k => $v) {
|
|
|
- array_push($talentType, $v['talentType']);
|
|
|
+ array_push($talentType, $v['enterpriseTag']);
|
|
|
}
|
|
|
$where[] = ['newEnterpriseTag', 'in', $talentType];
|
|
|
}
|
|
@@ -165,7 +165,7 @@ class EnterpriseApi {
|
|
|
}
|
|
|
if ($checkState) {
|
|
|
$where[] = ["checkState", "=", "{$checkState}"];
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$where[] = ['checkState', '>', 1];
|
|
|
}
|
|
|
if ($newStreet) {
|