|
|
@ -1117,12 +1117,17 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
* 保存信息汇总信息
|
|
|
|
* 保存信息汇总信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function savePromotateUserPool($data){
|
|
|
|
public function savePromotateUserPool($data){
|
|
|
|
|
|
|
|
if(IS_CLI){
|
|
|
|
|
|
|
|
$op_name ="system";
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
$op_name =$_SESSION['onethink_admin']['user_auth']["username"];
|
|
|
|
|
|
|
|
}
|
|
|
|
if(empty($data['create_lack_ids']) && empty($data['del_lack_ids']) && empty($data['info_ids'])){ //补点为空不重算
|
|
|
|
if(empty($data['create_lack_ids']) && empty($data['del_lack_ids']) && empty($data['info_ids'])){ //补点为空不重算
|
|
|
|
return ;
|
|
|
|
return ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($data['statement_money'] == 0){
|
|
|
|
if($data['statement_money'] == 0){
|
|
|
|
$data['verify_status'] = 5;
|
|
|
|
$data['verify_status'] = 5;
|
|
|
|
$data['verify_log'] = json_encode(["create_user"=>"system","create_time"=>date("Y-m-d H:i:s"),"verify_user"=>"system","verify_time"=>date("Y-m-d H:i:s"),"payment_user"=>"system","payment_time"=>date("Y-m-d H:i:s")]);
|
|
|
|
$data['verify_log'] = json_encode(["create_user"=>"system","create_time"=>date("Y-m-d H:i:s"),"verify_user"=>$op_name,"verify_time"=>date("Y-m-d H:i:s"),"payment_user"=>"system","payment_time"=>date("Y-m-d H:i:s")]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$data['create_lack_ids'] = implode(",",$data['create_lack_ids']);
|
|
|
|
$data['create_lack_ids'] = implode(",",$data['create_lack_ids']);
|
|
|
|
$data['del_lack_ids'] = implode(",",$data['del_lack_ids']);
|
|
|
|
$data['del_lack_ids'] = implode(",",$data['del_lack_ids']);
|
|
|
|