|
|
|
@ -720,13 +720,11 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
|
'verify_status'=>0
|
|
|
|
|
];
|
|
|
|
|
//
|
|
|
|
|
if(empty($pool_data['create_lack_ids'])){
|
|
|
|
|
if(empty($pool['create_lack_ids'])){
|
|
|
|
|
$pool_data['create_lack_ids'] = $l_id;
|
|
|
|
|
}else{
|
|
|
|
|
$pool_data['create_lack_ids'] = $pool_data['create_lack_ids'].",".$l_id;
|
|
|
|
|
$pool_data['create_lack_ids'] = $pool['create_lack_ids'].",".$l_id;
|
|
|
|
|
}
|
|
|
|
|
$info_ids = explode(",",$pool['info_ids']);
|
|
|
|
|
$pool_data['info_ids'] =implode(",",array_diff($info_ids,[$id]));
|
|
|
|
|
M("company_statement_pool","tab_")->save($pool_data);
|
|
|
|
|
M("company_statement_info","tab_")->where("id='{$id}'")->delete();
|
|
|
|
|
$this->ajaxReturn(array(
|
|
|
|
|