...
|
...
|
@@ -16,7 +16,7 @@ class SubjoinInsuranceModel extends Model |
|
|
public function subjoinSum($where){
|
|
|
$where['c.delete_time'] = ['eq',0];
|
|
|
$where['s.delete_time'] = ['eq',0];
|
|
|
$where['o.order_expire_time2'] = ['>',time()];//判断保单是否还在缴费期限内
|
|
|
// $where['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内
|
|
|
$data = $this
|
|
|
->alias('s')
|
|
|
->join('collocation c','s.collocation_id = c.id')
|
...
|
...
|
|