优化统计

master
chenzhi 4 years ago
parent 3389ba2720
commit fc75b7d81d

@ -522,6 +522,7 @@ class CompanyStatementPoolController extends ThinkController
}
//本周未结算流水合计
if(!$is_statement){
$count['pool_lack_count'] += $val['pay_amount'];
if($is_export){
$this->setlackCount($line);
}
@ -542,12 +543,12 @@ class CompanyStatementPoolController extends ThinkController
}
$count['week_money'] += $va['week_amount'];
$count['sum_money'] += $va['week_amount'];
}
if(!$is_statement){
$count['pool_lack_count'] += $va['week_amount'];
$count['st_lack_count'] += $va['week_amount'];
$count['st_lack_count'] += $v['statement_money'];
}else{
$count['st_count'] += $va['week_amount'];
}
$count['st_count'] += $v['statement_money'];
}
$v['row'] = $row;

Loading…
Cancel
Save