|
@@ -517,14 +517,20 @@ class Comjobs extends BaseController
|
|
|
//数据重组
|
|
|
$list = $item = [];
|
|
|
$item['baz367'] = $info['id'];
|
|
|
- $item['aca111'] = $info['comjobsCate']['code'];
|
|
|
+ if (!empty($info['comjobsCate']['code'])) {
|
|
|
+ $item['aca111'] = $info['comjobsCate']['code'];
|
|
|
+ }
|
|
|
$item['aca112'] = $info['title'];
|
|
|
$item['bcz002'] = $info['wtype'];
|
|
|
$item['bcz017'] = $info['zwagall'];
|
|
|
$item['cae006'] = $info['community'];
|
|
|
$item['cae007'] = $info['province'] . $info['city'] . $info['district'] . $info['address'];
|
|
|
- $item['aac011'] = $info['educationCode']['code'];
|
|
|
- $item['bcz006'] = $info['ageCode']['code'];
|
|
|
+ if (!empty($info['educationCode']['code'])) {
|
|
|
+ $item['aac011'] = $info['educationCode']['code'];
|
|
|
+ }
|
|
|
+ if (!empty($info['ageCode']['code'])) {
|
|
|
+ $item['bcz006'] = $info['ageCode']['code'];
|
|
|
+ }
|
|
|
$item['caa004s'] = $info['tags_code'];
|
|
|
$item['bcz007'] = $info['comdetails'];
|
|
|
$item['bcz008'] = $info['requirement'];
|