|
@@ -81,6 +81,7 @@ class Talent extends AdminController {
|
|
|
$content = [];
|
|
|
$info['rs']['I010902'] = $content['I010902'] = $rsapi->I010902($info['card_number']);
|
|
|
$info['rs']['I030101'] = $content['I030101'] = $rsapi->I030101($info['card_number']);
|
|
|
+ /*************************处理养老缴费判断开始****************/
|
|
|
$tmp_time = explode(' - ', $info['tax_insurance_month']);
|
|
|
$content['YL00018'] = $rsapi->YL00018($info['card_number'], str_replace('-', '', $tmp_time[0]), str_replace('-', '', $tmp_time[1]));
|
|
|
$formatDate = formatDateByMonth($tmp_time[0], $tmp_time[1], $content['YL00018']['data']['list']);
|
|
@@ -97,6 +98,21 @@ class Talent extends AdminController {
|
|
|
$info['rs']['YL00018'] = $content['YL00018'];
|
|
|
unset($tmp_time);
|
|
|
unset($tmp_item);
|
|
|
+ /*************************处理养老缴费判断结束****************/
|
|
|
+ if(!empty($info['pro_qua'])){
|
|
|
+ $content['SBJ0007'] = $rsapi->SBJ0007($info['name'],$info['card_number']);
|
|
|
+ if($content['SBJ0007']['data']['totalCount'] > 0){
|
|
|
+ $tmp_str = '';
|
|
|
+ foreach ($content['SBJ0007']['data']['list'] as $tmp_item) {
|
|
|
+ $tmp_str .= "职业资格名称:{$tmp_item['ksmc']};级别名称:{$tmp_item['jbmc']};专业名称:{$tmp_item['zymc']}<br />";
|
|
|
+ }
|
|
|
+ $content['SBJ0007']['content'] = "该人员共有{$content['SBJ0007']['data']['totalCount']}条职业资格证书记录,分别为:<br />{$tmp_str}";
|
|
|
+ }else{
|
|
|
+ $content['SBJ0007']['content'] = "该人员查不到职业资格证书记录";
|
|
|
+ }
|
|
|
+ $info['rs']['SBJ0007'] = $content['SBJ0007'];
|
|
|
+ }
|
|
|
+
|
|
|
$api_model_data = [
|
|
|
'uid' => $info['card_number'],
|
|
|
'action' => 'rending',
|