...
|
...
|
@@ -29,7 +29,7 @@ class CollocationModel extends Model |
|
|
public function totalSum($where){
|
|
|
$where['delete_time'] = ['=',0];
|
|
|
// $where['expire_time'] = ['>',time()];//判断保单是否还在缴费期限内
|
|
|
$data= $this->where($where)->sum('insurance_price');
|
|
|
$data= $this->where($where)->sum('pay_method_price');
|
|
|
return $data;
|
|
|
}
|
|
|
//获取全部被保人
|
...
|
...
|
|