优化下游重算

master
chenzhi 4 years ago
parent 7beaff1825
commit ea7bafec91

@ -786,7 +786,7 @@ class CompanyStatementPoolController extends ThinkController
//重新计算
$stime = $info['statement_end_time']-0+1;
$type = $info['withdraw_type'];
A("CompanyStatementSet")->promoteUserPool($type,$stime,true,$info['is_payment']);
A("CompanyStatementSet")->promoteUserPool($type,$stime,true);
M()->commit();
$this->ajaxReturn(array(

@ -1118,7 +1118,9 @@ class CompanyStatementSetController extends Controller {
}
if($data['statement_money'] == 0){
$data['verify_status'] = 5;
$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['verify_log'] = json_encode(["create_user"=>$op_name,"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")]);
}else{
$data['verify_log'] = json_encode(["create_user"=>$op_name,"create_time"=>date("Y-m-d H:i:s")]);
}
$data['create_lack_ids'] = implode(",",$data['create_lack_ids']);
$data['del_lack_ids'] = implode(",",$data['del_lack_ids']);

@ -155,7 +155,7 @@
<th>结算时间</th>
<th>结算类型</th>
<th>结算周期</th>
<th>是否打款</th>
<!-- <th>是否打款</th> -->
<th>结算金额</th>
<!-- <th>结算流水</th> -->
<th>不结算金额</th>
@ -182,7 +182,7 @@
<td>{$data.valid}</td>
<td>{$data.company_type_str}</td>
<td>{$data.withdraw_type}</td>
<td>{$data.is_payment_str}</td>
<!-- <td>{$data.is_payment_str}</td> -->
<td>{$data.statement_money}</td>
<!-- <td>{$data.platform_amount}</td> -->
<td>{$data.lack_statement_money}</td>

Loading…
Cancel
Save